Refactor projectDetails dao
it is now working
Creating localDbService to handle all sql-lite request