Foundations of new Lookup module.

- Moved Doctrine entities into Lookup
- Modified register action to use API