Added a REST class for JSON requests inside the application