merged the latest changes into the making id auto increment primary key ...

...for lookups.

This request includes the following changes:
- adjusted the seeding of lookup entries without pre-allocate the id, and instead, rely on the id auto increment primary key.

- merged in the latest refactoring for separate graph component.