added rails-api module
added rails-api module