Refactoring Projects Dao, helper and db object