Implemented the methods for creating and managing the MySQLite database, will save changes when application closed