Incorporating Knowledge Management into E-commerce applications