added basic ideas for transitioning of mysql manager to a more flexible one