Making it possible to run worker and api in the same server.