split interface from implementation, removed getParams method from Command