added APIs in FrontEndConnector.java