design database engin module.