refactor package name and MySQL name conventions