merging mysql and cloudstack class together to define order of run