Merge pull request #57 from dannybutler/master

Restructured database relationships
Merge pull request #58 from dannybutler/master

Adding simple 404 and 500 error pages