Split in layers. Added post processor bean. Created client and rmi services.