Implemented the API

It has a ref to my repo of accounts-rails in the gemfile, but all things considered I think you can merge this, since this is just for development anyway.