Add database class to query the database
Add database class to query the database

Added some general functions and some functions for more specific tasks, such as add user.
Testing/Example in end of file is kept for reference.

philiplarsson/Kwitter