Added new class "SessionData".
This class is used as a global variable so all functions in server.py can access data like the DB, dbpath, password or username.
Added working button that when clicked, saves the database to disk.