Design and implementation of customer relationship management