Base library to enable Internet of Things (IoT)