basic rest servic setup