refactor install commands
refactor migration commands
refactor resque command
remove command names in wrong places
add additional checks for checking expected class
add tests