moved MySQL Service to a seperate class