added a connector driven analytics module
wrapped exception handling