A basic implementation of Rails routing and controller functionality