(#5)Refactoring + introduction of primefaces(resolves #6).