Db moved into app