Remove database project and add unittestbase class
Add references to projects