Client-Server communication completely moved from RMI to REST API