Add DB functionality and test data for projects