initial setup of rails-api