First draft of DB schema for project
Fix syntax errors with initial code