removed tests folder. created dbinit files. fixed a few errors