Added capability of calling NSH from API from Tomcat server