Converted database to a class
Added a missing semicolon
Fixed a problem where administrators got denied access when editing or deleting events or vehicles
Merge pull request #16 from dwrj87/dev

Closes #9