Base Rails application for REST API