exit funtion if required variables are not set
start implementing process_command, issue #34