added composer.json file
small fixes to SystemDaemon