Added User and Quest retrieval functions.  Seperated data structs and the db api from the server main function/loops.