Command Parsing

Commands are now taken well and program is fully functional