added getTime() method for each command.
added peek method to commandqueue(hope you dont mind)
redid parser and commandloop