App now uses first entry from databases array

This is in place of the hardcoded "dev" reference we had before
Fix build all not finishing

THIS IS WHY YOU DON'T MANUALLY EXIT THE PROCESS RANKIN!