moved all code and databases to same directory