Clean up schema, add foreign keys.
Merge branch 'master' of github.com:ymichael/cs2102-project