updates database.yml and application.yml. App loads on localhost