added help, parameter based actions and refactored for pretty