Fix timer class which was mixing methods and attributes
Move Platform class where it belongs