add the basic structure of rest service