add richfaces to pom
add ajax functionality to rest
change rest layout
rest refactoring