#3 Addition of JsonAction class , refactor of monitorService refactor of unit tests for the same