Database Handling Work

Commit current progress on Database Handling. Queries can now be sent,
just need to handle the returned data.