Moved the Parser class and Time helper to their own files.