Information hiding - moved all of command input parsing to misc.c