Slightly altered the structure of MySQLSvc to allow standalone writer