playin with ruby
first attempt to attach api
completed first version of api