Added Code for Path correction in Controller

Added Hard Coded Graph

Added REST API Consumption.