Added ErrorHandler, globalVars. Deleted class Timer(moved to main)
Debugged