tria ecommerce codebase intial draft