Refactor Rocket command implementations into classes