Updated the Time class to use constants and to be constructed using a time in minutes (Useful for reading back in from the database).