Added basic timer class.