Deleting ContainerImpl.
Factories instead of ctx.getBean.
Map optimalization - entities has to have id (Hibernate?).