Moved time typedef out of timer.h. Also added time conversion macro.
Added function for fetching current working directory. Windows implementation untested.