Integrate xorm, and build products endpoint