a lot of changes in one commit: added beans.xml, json communication between client/server, search almost doing the right work