Added Log class with unitTest