Building a Customer Relationship Management system