Added timer class and methods.
	modified:   src/main.cpp