Move constructor to impl file.
Fix timer.cpp compilation. Fix linking.