CLIs in place, full mysql implemented