added REST class