Added pg gem.
added metrics controller and views
added root route
changed metric#index view filename
Fixed foundation/functions bug
Merge branch 'map-feature' into development