Implemented DB Methods

All of the database methods are now functional and the schema is far
easier to work with and is more expandable for the future.