Implemented basic persistence capability and connection to MySQL database.