Removed rails, added device management

What changed
===========

* Rails is not needed anymore
* Can read and write parameters for the device settings
* Can read the current status from the device
* Can read the logs from the device

What next
========

* Documenting message system