Changed Date object to a singleton
Updated Makefile to work in linux
Added try/catch block to main