Time refactor

Added Time class for handling all times.