Refactored ViewController
Added constants class, fixed glitch with incorrect time