a bit refactoring on controllers
in-memory registry implementation, spring wiring