adding example app
changing maing file name to api.rb
changing maing file name to api.rb