Tick 5 Functionality

The files that actually needed changing!
+ Database.java - Implements an SQL database and a few message oriented
operations.