add support to demonize application
edit db name for environments