use figaro gem for configuration

and use 'pg' as default database