javadocs added,a parser class with methods to return command type and task name