Added scaffolding for database, all relations are setup and logic is working in browser