Separated logic of the server/deamon componenets. In the process of mapping all api requests from the server to the deamons.