Additional work on the catalog module

- working products listings
- fixed id types (long -> Long)