use @ViewScope and @Named and myfaces-codi for bridging @Named to CDI.
Implement a Singleton bean annotated with @Singleton with @Inject
Move pages to pages folder