[CONCR-3] Added granting, user creation and database creation to mysql module. Small refactoring.