Added a logging system. Will likely refine later on as the engine evolves.