IoT Integration in the Manufacturing Environment Towards Industry 4.0 Applications