On the principles of building e-commerce systems