Building IoT-based Device Control Block