IoT Manager: an open-source IoT framework for smart cities