added REST resources
added REST mapping