Added license
Refactoring commands

Moved all command definitions to separate file. They will be implemented in
separate files grouped by meaning and usage. Also, the arguments will change in
the future.