Set up database and general configuration and vendor/bundle.

- Added figaro to define configuration in ENV for heroku.
Draft of basic framework, needs testing.