Added makefile and improved methods of aquiring the time