Initial Logger library and some cleanup all around