Added functions, cleaned up the database connection code, displayed some data from the database!
Merge pull request #1 from Yanzie/master

Added functions, cleaned up the database connection code, displayed some...