Refactor, split mysql installer into its own script