simple rest mvc (client and server side)