Command-oriented architecture for Rails