(Feat/projects) exportLocalDB() uses promises. Filer functions moved to services. Empties out local database.