function to create project table in DB