Finished parse method. Works 100%, just not sure about the stupid command line running.