refactor & bug fix & add mysql generator