Replaced proof of concept code with real code.

* Modularized sensors and actuators
* Implemented cron scheduling thanks to apscheduler