Config file and moving default database to app dir