Added timer class. Added CPU feature detection.