Bugfix/cleanup MysqlRepository