removed autoloader since it is deprecated
moved command parsing logic into class