complete main module
finish all template helpers of mysql syntax