Implemented simple daemon functions #11