Added a basic structure to execute user commands
Renamings and fixed bug in command search