Implemented a logger, to log errors instead og printing them in the console. Also renamed namespaceses and projects to make it more streamlined
fixed wrong placement of log initialization
Changed comment