Add command parsing

This enables command parsing. Things to be done :
- Correctly check for errors
- Add buffer bound checking
- Add return information to commands
Add error handling to command execution