adding base command class and route command