1. Converted execute commnad to take in a command_stream
2. modified main.c to pass stream to execute_command
3. Updated defintions in header files