Added a daemon to the main class of the project