db setup and other files