implemented new basic architecture for commands

http://rcondev.myjetbrains.com/youtrack/issue/RCSRV-43