huge refactory: updated conventions and primefaces