Update Daemon
Cleaning code and adding support

Added support for locomotive movement.
Update