a scheleton to create a REST server with spring framework