Database and source your IoT assets in Ruby on Rails and I don't know maybe network management stuff later...