replacing api2 folder with Grape on Rack and ActiveRecord API approach