diff --git a/dist/_scratch/Hello.d.ts b/dist/_scratch/Hello.d.ts
index 57cc0823bd38069c104d182abb1755031265666c..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644
--- a/dist/_scratch/Hello.d.ts
+++ b/dist/_scratch/Hello.d.ts
@@ -1,11 +0,0 @@
-/**
- * Created by gavorhes on 9/22/2016.
- */
-import * as React from "react";
-export interface HelloProps {
-    compiler: string;
-    framework: string;
-}
-export declare class Hello extends React.Component<HelloProps, {}> {
-    render(): JSX.Element;
-}
diff --git a/dist/_scratch/Hello.js b/dist/_scratch/Hello.js
index e494b54dfdcff6c3dd1f674c23a3b6e5c9c747b3..4771b6ad4973c294c38b84486c086aa07a57af00 100644
--- a/dist/_scratch/Hello.js
+++ b/dist/_scratch/Hello.js
@@ -1,22 +1,13 @@
-"use strict";
-var __extends = (this && this.__extends) || function (d, b) {
-    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
-    function __() { this.constructor = d; }
-    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-};
 /**
  * Created by gavorhes on 9/22/2016.
  */
-var React = require("react");
-var Hello = (function (_super) {
-    __extends(Hello, _super);
-    function Hello() {
-        _super.apply(this, arguments);
-    }
-    Hello.prototype.render = function () {
-        return React.createElement("h1", null, "Hello from ", this.props.compiler, " and ", this.props.framework, "!");
-    };
-    return Hello;
-}(React.Component));
-exports.Hello = Hello;
+// import * as React from "react";
+//
+// export interface HelloProps { compiler: string; framework: string; }
+//
+// export class Hello extends React.Component<HelloProps, {}> {
+//     render() {
+//         return <h1>Hello from {this.props.compiler} and {this.props.framework}!</h1>;
+//     }
+// } 
 //# sourceMappingURL=Hello.js.map
\ No newline at end of file
diff --git a/dist/_scratch/Hello.js.map b/dist/_scratch/Hello.js.map
index 193287e871e28fcf64ce94bef0ebbcb30ef39991..926ebe054655d5674d7b77e2de96d9118ee15216 100644
--- a/dist/_scratch/Hello.js.map
+++ b/dist/_scratch/Hello.js.map
@@ -1 +1 @@
-{"version":3,"file":"Hello.js","sourceRoot":"","sources":["../../src-ts/_scratch/Hello.tsx"],"names":[],"mappings":";;;;;;AAAA;;GAEG;AACH,IAAY,KAAK,WAAM,OAAO,CAAC,CAAA;AAI/B;IAA2B,yBAA+B;IAA1D;QAA2B,8BAA+B;IAI1D,CAAC;IAHG,sBAAM,GAAN;QACI,MAAM,CAAC,qBAAC,EAAE,wBAAa,IAAI,CAAC,KAAK,CAAC,QAAS,WAAM,IAAI,CAAC,KAAK,CAAC,SAAU,MAAM,CAAC;IACjF,CAAC;IACL,YAAC;AAAD,CAAC,AAJD,CAA2B,KAAK,CAAC,SAAS,GAIzC;AAJY,aAAK,QAIjB,CAAA"}
\ No newline at end of file
+{"version":3,"file":"Hello.js","sourceRoot":"","sources":["../../src-ts/_scratch/Hello.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,kCAAkC;AAClC,EAAE;AACF,uEAAuE;AACvE,EAAE;AACF,+DAA+D;AAC/D,iBAAiB;AACjB,wFAAwF;AACxF,QAAQ;AACR,IAAI"}
\ No newline at end of file
diff --git a/dist/_test/reacttst.js b/dist/_test/reacttst.js
index fd76af07912e81287c03c9e277749472e5a4b9d2..7f9260f5b9e73cfd7e827a961c283ab602a76c5b 100644
--- a/dist/_test/reacttst.js
+++ b/dist/_test/reacttst.js
@@ -1,7 +1,7 @@
 /**
  * Created by gavorhes on 9/22/2016.
  */
-"use strict";
+// import * as React from "react";
 // import * as ReactDOM from "react/lib/";
 //
 // import { Hello } from "../_scratch/Hello";
diff --git a/dist/_test/reacttst.js.map b/dist/_test/reacttst.js.map
index 8ad1ce86aaab6ac9be55eb388d685a6c65c17c7b..f160e1d82b94f1e2ef5fed570dde9b4c8ac3a7fb 100644
--- a/dist/_test/reacttst.js.map
+++ b/dist/_test/reacttst.js.map
@@ -1 +1 @@
-{"version":3,"file":"reacttst.js","sourceRoot":"","sources":["../../src-ts/_test/reacttst.tsx"],"names":[],"mappings":"AAAA;;GAEG;;AAGH,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,qDAAqD;AACrD,EAAE;AACF,mBAAmB;AACnB,yDAAyD;AACzD,yCAAyC;AACzC,KAAK;AACL,EAAE"}
\ No newline at end of file
+{"version":3,"file":"reacttst.js","sourceRoot":"","sources":["../../src-ts/_test/reacttst.tsx"],"names":[],"mappings":"AAAA;;GAEG;AAEH,kCAAkC;AAClC,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,qDAAqD;AACrD,EAAE;AACF,mBAAmB;AACnB,yDAAyD;AACzD,yCAAyC;AACzC,KAAK;AACL,EAAE"}
\ No newline at end of file
diff --git a/dist/layers/LayerBaseVector.d.ts b/dist/layers/LayerBaseVector.d.ts
index a5095e25c71d165c68fa774e0c1ee24e27c4a57a..dd21c2d6c9103d2f1067496aab7bc5adc18a3f95 100644
--- a/dist/layers/LayerBaseVector.d.ts
+++ b/dist/layers/LayerBaseVector.d.ts
@@ -1,5 +1,3 @@
-/// <reference path="../../definitions/jquery.d.ts" />
-/// <reference path="../../definitions/node.d.ts" />
 import { LayerBase, LayerBaseOptions } from './LayerBase';
 import MapMoveCls from '../olHelpers/mapMoveCls';
 import { ol } from 'custom-ol';
diff --git a/dist/layers/LayerBaseVector.js b/dist/layers/LayerBaseVector.js
index aa2b1ecaa48e87ee7be8e36fbda10dde16053f5e..646c5805dab875aaf979b9d329c2ca96f43a895d 100644
--- a/dist/layers/LayerBaseVector.js
+++ b/dist/layers/LayerBaseVector.js
@@ -1,5 +1,3 @@
-/// <reference path="../../definitions/jquery.d.ts" />
-/// <reference path="../../definitions/node.d.ts" />
 "use strict";
 var __extends = (this && this.__extends) || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
diff --git a/dist/layers/LayerBaseVector.js.map b/dist/layers/LayerBaseVector.js.map
index e61a77e0571e25a0013b1ba7f363789578cca14b..4e3030d73d0cd4c62d737b6e5a6ef678253b3a55 100644
--- a/dist/layers/Layer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Helpers/mapMoveCls.js.map
index 7a36fb08f05103d8fe5c0b8c11549ffecd2b8376..f5400c3440d8514fee9eeb7326c5378fe7155d5d 100644
--- a/dist/olHelpers/mapMoveCls.js.map
+++ b/dist/olHelpers/mapMoveCls.js.map
@@ -1 +1 @@
-{"version":3,"file":"mapMoveCls.js","sourceRoot":"","sources":["../../src-ts/olHelpers/mapMoveCls.ts"],"names":[],"mappings":";;;;;;AAEA,mCAA+B,sBAAsB,CAAC,CAAA;AACtD,IAAY,YAAY,WAAM,sBAAsB,CAAC,CAAA;AACrD,wBAAoB,iBAAiB,CAAC,CAAA;AACtC,yBAAqB,kBAAkB,CAAC,CAAA;AAIxC,IAAM,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AAC5B,IAAM,EAAE,GAAG,iBAAO,CAAC,WAAW,CAAC,CAAC;AAchC;;;GAGG;AACH;IAAgC,8BAAkB;IAa9C;;OAEG;IACH;QACI,kBAAM,UAAU,CAAC,CAAC;QAClB,IAAI,CAAC,cAAc,GAAG,EAAE,CAAC;QACzB,IAAI,CAAC,cAAc,GAAG,EAAE,CAAC;QACzB,IAAI,CAAC,SAAS,GAAG,EAAE,CAAC;QACpB,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC;QAEvB,IAAI,CAAC,iBAAiB,GAAG,EAAE,CAAC;QAC5B,IAAI,CAAC,uBAAuB,GAAG,EAAE,CAAC;QAClC,IAAI,CAAC,sBAAsB,GAAG,EAAE,CAAC;QACjC,IAAI,CAAC,uBAAuB,GAAG,EAAE,CAAC;QAClC,IAAI,CAAC,uBAAuB,GAAG,EAAE,CAAC;QAElC,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;QAC5B,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;IAEhC,CAAC;IAED;;;OAGG;IACH,yBAAI,GAAJ,UAAK,MAAc;QAAnB,iBAiBC;QAhBG,gBAAK,CAAC,IAAI,YAAC,MAAM,CAAC,CAAC;QAEnB,IAAI,CAAC,G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CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAExC,YAAY,GAAG,OAAO,YAAY,IAAI,SAAS,GAAG,YAAY,GAAG,IAAI,CAAC;QAEtE,EAAE,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC;YACf,EAAE,CAAC,CAAC,IAAI,CAAC,UAAU,KAAK,SAAS,CAAC,CAAC,CAAC;gBAChC,IAAI,CAAC,gBAAgB,EAAE,CAAC;YAC5B,CAAC;YACD,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,iBAAiB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QAChE,CAAC;IACL,CAAC;IACL,iBAAC;AAAD,CAAC,AAlQD,CAAgC,4BAAkB,GAkQjD;AAlQY,kBAAU,aAkQtB,CAAA;AAED,EAAE,CAAC,UAAU,GAAG,UAAU,CAAC;AAC3B;kBAAe,UAAU,CAAC"}
\ No newline at end of file
diff --git a/lib-ts/_internalnterfaces.d.ts b/lib-ts/_internalnterfaces.d.ts
deleted file mode 100644
index c98298e4b6789edd6769f95941990b31023eb755..0000000000000000000000000000000000000000
--- a/lib-ts/_internalnterfaces.d.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Created by gavorhes on 9/21/2016.
- */
-export interface extentObject {
-    minX: number;
-    minY: number;
-    maxX: number;
-    maxY: number;
-}
diff --git a/lib-ts/_internalnterfaces.js b/lib-ts/_internalnterfaces.js
deleted file mode 100644
index 8c927201057a8bbdd2a13e0c2ead299d387fb281..0000000000000000000000000000000000000000
--- a/lib-ts/_internalnterfaces.js
+++ /dev/null
@@ -1,5 +0,0 @@
-/**
- * Created by gavorhes on 9/21/2016.
- */
-"use strict";
-//# sourceMappingURL=_internalnterfaces.js.map
\ No newline at end of file
diff --git a/lib-ts/_internalnterfaces.js.map b/lib-ts/_internalnterfaces.js.map
deleted file mode 100644
index 903f44af2c38024d9e78315d78449548e1de4c10..0000000000000000000000000000000000000000
--- a/lib-ts/_internalnterfaces.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"_internalnterfaces.js","sourceRoot":"","sources":["../src-ts/_internalnterfaces.ts"],"names":[],"mappings":"AAAA;;GAEG"}
\ No newline at end of file
diff --git a/lib-ts/_scratch/Hello.d.ts b/lib-ts/_scratch/Hello.d.ts
deleted file mode 100644
index 57cc0823bd38069c104d182abb1755031265666c..0000000000000000000000000000000000000000
--- a/lib-ts/_scratch/Hello.d.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Created by gavorhes on 9/22/2016.
- */
-import * as React from "react";
-export interface HelloProps {
-    compiler: string;
-    framework: string;
-}
-export declare class Hello extends React.Component<HelloProps, {}> {
-    render(): JSX.Element;
-}
diff --git a/lib-ts/_scratch/Hello.js b/lib-ts/_scratch/Hello.js
deleted file mode 100644
index e494b54dfdcff6c3dd1f674c23a3b6e5c9c747b3..0000000000000000000000000000000000000000
--- a/lib-ts/_scratch/Hello.js
+++ /dev/null
@@ -1,22 +0,0 @@
-"use strict";
-var __extends = (this && this.__extends) || function (d, b) {
-    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
-    function __() { this.constructor = d; }
-    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-};
-/**
- * Created by gavorhes on 9/22/2016.
- */
-var React = require("react");
-var Hello = (function (_super) {
-    __extends(Hello, _super);
-    function Hello() {
-        _super.apply(this, arguments);
-    }
-    Hello.prototype.render = function () {
-        return React.createElement("h1", null, "Hello from ", this.props.compiler, " and ", this.props.framework, "!");
-    };
-    return Hello;
-}(React.Component));
-exports.Hello = Hello;
-//# sourceMappingURL=Hello.js.map
\ No newline at end of file
diff --git a/lib-ts/_scratch/Hello.js.map b/lib-ts/_scratch/Hello.js.map
deleted file mode 100644
index 193287e871e28fcf64ce94bef0ebbcb30ef39991..0000000000000000000000000000000000000000
--- a/lib-ts/_scratch/Hello.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Hello.js","sourceRoot":"","sources":["../../src-ts/_scratch/Hello.tsx"],"names":[],"mappings":";;;;;;AAAA;;GAEG;AACH,IAAY,KAAK,WAAM,OAAO,CAAC,CAAA;AAI/B;IAA2B,yBAA+B;IAA1D;QAA2B,8BAA+B;IAI1D,CAAC;IAHG,sBAAM,GAAN;QACI,MAAM,CAAC,qBAAC,EAAE,wBAAa,IAAI,CAAC,KAAK,CAAC,QAAS,WAAM,IAAI,CAAC,KAAK,CAAC,SAAU,MAAM,CAAC;IACjF,CAAC;IACL,YAAC;AAAD,CAAC,AAJD,CAA2B,KAAK,CAAC,SAAS,GAIzC;AAJY,aAAK,QAIjB,CAAA"}
\ No newline at end of file
diff --git a/lib-ts/_test/another.d.ts b/lib-ts/_test/another.d.ts
deleted file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000
diff --git a/lib-ts/_test/another.js b/lib-ts/_test/another.js
deleted file mode 100644
index 8080833a5414a71126bf87b80b5e6dc084b0c5d7..0000000000000000000000000000000000000000
--- a/lib-ts/_test/another.js
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Created by gavorhes on 9/22/2016.
- */
-console.log('here is another');
-console.log('here is another');
-//# sourceMappingURL=another.js.map
\ No newline at end of file
diff --git a/lib-ts/_test/another.js.map b/lib-ts/_test/another.js.map
deleted file mode 100644
index 7f3f01d36b98d5b0fad5ebd523ae0b9b92ca5ae3..0000000000000000000000000000000000000000
--- a/lib-ts/_test/another.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"another.js","sourceRoot":"","sources":["../../src-ts/_test/another.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;AAC/B,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC"}
\ No newline at end of file
diff --git a/lib-ts/_test/compare-test.d.ts b/lib-ts/_test/compare-test.d.ts
deleted file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000
diff --git a/lib-ts/_test/compare-test.js b/lib-ts/_test/compare-test.js
deleted file mode 100644
index 7bd10e076ae29e53a3d0f3b8af9a3358d17d1794..0000000000000000000000000000000000000000
--- a/lib-ts/_test/compare-test.js
+++ /dev/null
@@ -1,41 +0,0 @@
-"use strict";
-/**
- * Created by gavorhes on 6/1/2016.
- */
-var quickMap_1 = require('../olHelpers/quickMap');
-var layerSwipe_1 = require('../olHelpers/layerSwipe');
-var LayerEsriMapServer_1 = require('../layers/LayerEsriMapServer');
-var map = quickMap_1.quickMap();
-var swiper = new layerSwipe_1.default(map);
-var wisDotRegions = new LayerEsriMapServer_1.LayerEsriMapServer('http://transportal.cee.wisc.edu/applications/arcgis2/rest/services/MetaManager/Metamanager_regions/MapServer', {
-    minZoom: 6,
-    maxZoom: 12,
-    name: 'WisDOT Regions',
-    useEsriStyle: true
-});
-var metamanagerSegments = new LayerEsriMapServer_1.LayerEsriMapServer('http://transportal.cee.wisc.edu/applications/arcgis2/rest/services/MetaManager/MM_All_Segments/MapServer', {
-    minZoom: 7,
-    visible: true,
-    name: 'Metamanager Segments'
-});
-var truckSpeed2014 = new LayerEsriMapServer_1.LayerEsriMapServer('http://transportal.cee.wisc.edu/applications/arcgis2/rest/services/NPMRDS/compareDynamic/MapServer', {
-    minZoom: 7,
-    visible: true,
-    name: 'truck2014',
-    showLayers: [8]
-});
-var truckSpeed2015 = new LayerEsriMapServer_1.LayerEsriMapServer('http://transportal.cee.wisc.edu/applications/arcgis2/rest/services/NPMRDS/compareDynamic/MapServer', {
-    minZoom: 7,
-    visible: true,
-    name: 'truck2015',
-    showLayers: [9]
-});
-map.addLayer(wisDotRegions.olLayer);
-map.addLayer(truckSpeed2014.olLayer);
-map.addLayer(truckSpeed2015.olLayer);
-map.addLayer(metamanagerSegments.olLayer);
-swiper.addLeftLayer(wisDotRegions);
-swiper.addRightLayer(metamanagerSegments);
-swiper.addLeftLayer(truckSpeed2014);
-swiper.addRightLayer(truckSpeed2015);
-//# sourceMappingURL=compare-test.js.map
\ No newline at end of file
diff --git a/lib-ts/_test/compare-test.js.map b/lib-ts/_test/compare-test.js.map
deleted file mode 100644
index c9710e375f658b29f2493044f7a669854863dad7..0000000000000000000000000000000000000000
--- a/lib-ts/_test/compare-test.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"compare-test.js","sourceRoot":"","sources":["../../src-ts/_test/compare-test.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH,yBAAuB,uBAAuB,CAAC,CAAA;AAC/C,2BAAuB,yBAAyB,CAAC,CAAA;AACjD,mCAAiC,8BAA8B,CAAC,CAAA;AAEhE,IAAI,GAAG,GAAG,mBAAQ,EAAE,CAAC;AAGrB,IAAI,MAAM,GAAG,IAAI,oBAAU,CAAC,GAAG,CAAC,CAAC;AAGjC,IAAI,aAAa,GAAG,IAAI,uCAAkB,CACtC,8GAA8G,EAC9G;IACI,OAAO,EAAE,CAAC;IACV,OAAO,EAAE,EAAE;IACX,IAAI,EAAE,gBAAgB;IACtB,YAAY,EAAE,IAAI;CACrB,CAAC,CAAC;AAEP,IAAI,mBAAmB,GAAG,IAAI,uCAAkB,CAC5C,0GAA0G,EAC1G;IACI,OAAO,EAAE,CAAC;IACV,OAAO,EAAE,IAAI;IACb,IAAI,EAAE,sBAAsB;CAC/B,CAAC,CAAC;AAEP,IAAI,cAAc,GAAG,IAAI,uCAAkB,CACvC,oGAAoG,EACpG;IACI,OAAO,EAAE,CAAC;IACV,OAAO,EAAE,IAAI;IACb,IAAI,EAAE,WAAW;IACjB,UAAU,EAAE,CAAC,CAAC,CAAC;CAClB,CAAC,CAAC;AAEP,IAAI,cAAc,GAAG,IAAI,uCAAkB,CACvC,oGAAoG,EACpG;IACI,OAAO,EAAE,CAAC;IACV,OAAO,EAAE,IAAI;IACb,IAAI,EAAE,WAAW;IACjB,UAAU,EAAE,CAAC,CAAC,CAAC;CAClB,CAAC,CAAC;AAEP,GAAG,CAAC,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;AACpC,GAAG,CAAC,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;AACrC,GAAG,CAAC,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;AACrC,GAAG,CAAC,QAAQ,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;AAG1C,MAAM,CAAC,YAAY,CAAC,aAAa,CAAC,CAAC;AACnC,MAAM,CAAC,aAAa,CAAC,mBAAmB,CAAC,CAAC;AAE1C,MAAM,CAAC,YAAY,CAAC,cAAc,CAAC,CAAC;AACpC,MAAM,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC"}
\ No newline at end of file
diff --git a/lib-ts/_test/itsMap.d.ts b/lib-ts/_test/itsMap.d.ts
deleted file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000
diff --git a/lib-ts/_test/itsMap.js b/lib-ts/_test/itsMap.js
deleted file mode 100644
index 2d8c28e0f7f7b112b007188ca36d77bc8a6d45cf..0000000000000000000000000000000000000000
--- a/lib-ts/_test/itsMap.js
+++ /dev/null
@@ -1,21 +0,0 @@
-"use strict";
-/**
- * Created by gavorhes on 12/18/2015.
- */
-// import 'babel-polyfill/dist/polyfill.min';
-var ItsLayerCollection_1 = require('../collections/ItsLayerCollection');
-var LayerLegend_1 = require('../collections/LayerLegend');
-var quickMap_1 = require('../olHelpers/quickMap');
-var map = quickMap_1.default();
-var itsLayerCollection = new ItsLayerCollection_1.default(map);
-var layerArray = [
-    {
-        groupName: 'ITS Inventory Layers',
-        collapse: false,
-        addCheck: true,
-        items: itsLayerCollection.layers
-    }
-];
-var legend = new LayerLegend_1.default(layerArray, 'legend-container', {});
-console.log('it works');
-//# sourceMappingURL=itsMap.js.map
\ No newline at end of file
diff --git a/lib-ts/_test/itsMap.js.map b/lib-ts/_test/itsMap.js.map
deleted file mode 100644
index 5dc862cf8d9355fcb98b6133d0e1d82d1eae1944..0000000000000000000000000000000000000000
--- a/lib-ts/_test/itsMap.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"itsMap.js","sourceRoot":"","sources":["../../src-ts/_test/itsMap.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH,6CAA6C;AAC7C,mCAA+B,mCAAmC,CAAC,CAAA;AACnE,4BAAwB,4BAA4B,CAAC,CAAA;AACrD,yBAAqB,uBAAuB,CAAC,CAAA;AAE7C,IAAI,GAAG,GAAG,kBAAQ,EAAE,CAAC;AAErB,IAAI,kBAAkB,GAAG,IAAI,4BAAkB,CAAC,GAAG,CAAC,CAAC;AAErD,IAAI,UAAU,GAAG;IACb;QACI,SAAS,EAAE,sBAAsB;QACjC,QAAQ,EAAE,KAAK;QACf,QAAQ,EAAE,IAAI;QACd,KAAK,EAAE,kBAAkB,CAAC,MAAM;KACnC;CACJ,CAAC;AAEF,IAAI,MAAM,GAAG,IAAI,qBAAW,CAAC,UAAU,EAAE,kBAAkB,EAAE,EAAE,CAAC,CAAC;AAKjE,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC"}
\ No newline at end of file
diff --git a/lib-ts/_test/my_little_test.d.ts b/lib-ts/_test/my_little_test.d.ts
deleted file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000
diff --git a/lib-ts/_test/my_little_test.js b/lib-ts/_test/my_little_test.js
deleted file mode 100644
index 7b2c0aacd6909c7bd6b3dfdf67e872247302367b..0000000000000000000000000000000000000000
--- a/lib-ts/_test/my_little_test.js
+++ /dev/null
@@ -1,31 +0,0 @@
-"use strict";
-var animate_buttons_1 = require('../domUtil/animate-buttons');
-//
-//
-console.log('eat this fish');
-console.log('eat this fish');
-console.log('eat this bird');
-//
-// let g = new ol3.source.Vector();
-//
-// console.log(olx);
-console.log('i am here5');
-function me(eat) {
-    if (eat === void 0) { eat = 10; }
-    console.log(eat, 'one');
-}
-me();
-var control = new animate_buttons_1.MediaControl('map');
-//
-//
-// console.log(ol3);
-//
-//
-// console.log(definedAndNotNull("fish"));
-// console.log(definedAndNotNull("fish"));
-// console.log(definedAndNotNull("fish"));
-// console.log(definedAndNotNull("fish"));
-// console.log(definedAndNotNull("fish"));
-// console.log('here');
-//
-//# sourceMappingURL=my_little_test.js.map
\ No newline at end of file
diff --git a/lib-ts/_test/my_little_test.js.map b/lib-ts/_test/my_little_test.js.map
deleted file mode 100644
index b85547fdbf0feae464d05e9916e8d6d69c3a44d0..0000000000000000000000000000000000000000
--- a/lib-ts/_test/my_little_test.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"my_little_test.js","sourceRoot":"","sources":["../../src-ts/_test/my_little_test.ts"],"names":[],"mappings":";AACA,gCAA2B,4BAK3B,CAAC,CALsD;AACvD,EAAE;AACF,EAAE;AAGF,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;AAC7B,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;AAC7B,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;AAE7B,EAAE;AACF,mCAAmC;AACnC,EAAE;AACF,oBAAoB;AAGpB,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;AAI1B,YAAa,GAAgB;IAAhB,mBAAgB,GAAhB,QAAgB;IACzB,OAAO,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;AAC5B,CAAC;AAED,EAAE,EAAE,CAAC;AAEL,IAAI,OAAO,GAAG,IAAI,8BAAY,CAAC,KAAK,CAAC,CAAC;AAEtC,EAAE;AACF,EAAE;AACF,oBAAoB;AACpB,EAAE;AACF,EAAE;AACF,0CAA0C;AAC1C,0CAA0C;AAC1C,0CAA0C;AAC1C,0CAA0C;AAC1C,0CAA0C;AAC1C,uBAAuB;AACvB,EAAE"}
\ No newline at end of file
diff --git a/lib-ts/_test/reacttst.d.ts b/lib-ts/_test/reacttst.d.ts
deleted file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000
diff --git a/lib-ts/_test/reacttst.js b/lib-ts/_test/reacttst.js
deleted file mode 100644
index 5ce1acf578677ffda672a867c8d4bf2dbee1c34e..0000000000000000000000000000000000000000
--- a/lib-ts/_test/reacttst.js
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Created by gavorhes on 9/22/2016.
- */
-"use strict";
-var React = require("react");
-var ReactDOM = require("react-dom");
-var Hello_1 = require("../_scratch/Hello");
-console.log('I am in a tsx file for some reason');
-ReactDOM.render(React.createElement(Hello_1.Hello, {compiler: "TypeScript", framework: "React"}), document.getElementById("example"));
-//# sourceMappingURL=reacttst.js.map
\ No newline at end of file
diff --git a/lib-ts/_test/reacttst.js.map b/lib-ts/_test/reacttst.js.map
deleted file mode 100644
index 26019fa8c91ae037c9b0f1ddcca26fb52516352a..0000000000000000000000000000000000000000
--- a/lib-ts/_test/reacttst.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"reacttst.js","sourceRoot":"","sources":["../../src-ts/_test/reacttst.tsx"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,IAAY,KAAK,WAAM,OAAO,CAAC,CAAA;AAC/B,IAAY,QAAQ,WAAM,WAAW,CAAC,CAAA;AAEtC,sBAAsB,mBAAmB,CAAC,CAAA;AAE1C,OAAO,CAAC,GAAG,CAAC,oCAAoC,CAAC,CAAC;AAElD,QAAQ,CAAC,MAAM,CACX,oBAAC,aAAK,GAAC,QAAQ,EAAC,YAAY,EAAC,SAAS,EAAC,OAAO,EAAG,EACjD,QAAQ,CAAC,cAAc,CAAC,SAAS,CAAC,CACrC,CAAC"}
\ No newline at end of file
diff --git a/lib-ts/_test/slider-test.d.ts b/lib-ts/_test/slider-test.d.ts
deleted file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000
diff --git a/lib-ts/_test/slider-test.js b/lib-ts/_test/slider-test.js
deleted file mode 100644
index cd8e671edc9456d17e45778dd0693d6f55777a0c..0000000000000000000000000000000000000000
--- a/lib-ts/_test/slider-test.js
+++ /dev/null
@@ -1,173 +0,0 @@
-"use strict";
-/**
- * Created by gavorhes on 6/22/2016.
- */
-var Sliders_1 = require('../collections/Sliders');
-var slidersConfig = [
-    {
-        label: 'AADT',
-        yearOptions: [
-            { label: '1', column: 'aadtyr_1' }
-        ]
-    },
-    {
-        label: 'AADT Future',
-        yearOptions: [
-            { label: '5', column: 'aadtyr_5' },
-            { label: '10', column: 'aadtyr_10' },
-            { label: '15', column: 'aadtyr_15' },
-            { label: '20', column: 'aadtyr_20' }
-        ]
-    },
-    {
-        label: 'Growth',
-        yearOptions: [
-            { label: '5', column: 'growth_5' },
-            { label: '10', column: 'growth_10' },
-            { label: '15', column: 'growth_15' },
-            { label: '20', column: 'growth_20' }
-        ]
-    },
-    {
-        label: 'Truck',
-        yearOptions: [
-            { label: '1', column: 'trkdyr_1' },
-            { label: '20', column: 'trkdyr_20' }
-        ]
-    },
-    {
-        label: 'LOS',
-        yearOptions: [
-            { label: '1', column: 'losyr_1' }
-        ]
-    },
-    {
-        label: 'LOS Future',
-        yearOptions: [
-            { label: '5', column: 'losyr_5' },
-            { label: '10', column: 'losyr_10' },
-            { label: '15', column: 'losyr_15' },
-            { label: '20', column: 'losyr_20' }
-        ]
-    },
-    {
-        label: 'Crash Rate',
-        yearOptions: [
-            { label: 1, column: 'crash_rate' }
-        ]
-    },
-    {
-        label: 'Severity',
-        yearOptions: [
-            { label: 1, column: 'crash_severity' }
-        ]
-    },
-    {
-        label: 'Weather',
-        yearOptions: [
-            { label: 1, column: 'weather' }
-        ]
-    },
-    {
-        label: 'Event',
-        yearOptions: [
-            { label: 1, column: 'event' }
-        ]
-    }
-];
-var presetConfig = [
-    {
-        label: 'Default TIP',
-        presets: [
-            { column: 'aadtyr_1', value: 10.0 },
-            { column: 'aadtyr_20', value: 7.0 },
-            { column: 'growth_20', value: 7.0 },
-            { column: 'trkdyr_1', value: 4.0 },
-            { column: 'losyr_1', value: 12.0 },
-            { column: 'losyr_20', value: 12.0 },
-            { column: 'crash_rate', value: 15.0 },
-            { column: 'crash_severity', value: 13.0 },
-            { column: 'weather', value: 9.0 },
-            { column: 'event', value: 11.0 }
-        ]
-    },
-    {
-        label: 'Safety',
-        presets: [
-            { column: 'aadtyr_1', value: 20.0 },
-            { column: 'aadtyr_20', value: 0.0 },
-            { column: 'growth_20', value: 0.0 },
-            { column: 'trkdyr_1', value: 0.0 },
-            { column: 'losyr_1', value: 0.0 },
-            { column: 'losyr_20', value: 0.0 },
-            { column: 'crash_rate', value: 40.0 },
-            { column: 'crash_severity', value: 40.0 },
-            { column: 'weather', value: 0.0 },
-            { column: 'event', value: 0.0 }
-        ]
-    },
-    {
-        label: 'Mobility Present',
-        presets: [
-            { column: 'aadtyr_1', value: 25.0 },
-            { column: 'aadtyr_20', value: 25.0 },
-            { column: 'growth_20', value: 0.0 },
-            { column: 'trkdyr_1', value: 25.0 },
-            { column: 'losyr_1', value: 25.0 },
-            { column: 'losyr_20', value: 0.0 },
-            { column: 'crash_rate', value: 0.0 },
-            { column: 'crash_severity', value: 0.0 },
-            { column: 'weather', value: 0.0 },
-            { column: 'event', value: 0.0 }
-        ]
-    },
-    {
-        label: 'Mobility Future',
-        presets: [
-            { column: 'aadtyr_1', value: 0.0 },
-            { column: 'aadtyr_20', value: 25.0 },
-            { column: 'growth_20', value: 25.0 },
-            { column: 'trkdyr_1', value: 25.0 },
-            { column: 'losyr_1', value: 0.0 },
-            { column: 'losyr_20', value: 25.0 },
-            { column: 'crash_rate', value: 0.0 },
-            { column: 'crash_severity', value: 0.0 },
-            { column: 'weather', value: 0.0 },
-            { column: 'event', value: 0.0 }
-        ]
-    },
-    {
-        label: 'Service',
-        presets: [
-            { column: 'aadtyr_1', value: 30.0 },
-            { column: 'aadtyr_20', value: 0.0 },
-            { column: 'growth_20', value: 10.0 },
-            { column: 'trkdyr_1', value: 0.0 },
-            { column: 'losyr_1', value: 30.0 },
-            { column: 'losyr_20', value: 30.0 },
-            { column: 'crash_rate', value: 0.0 },
-            { column: 'crash_severity', value: 0.0 },
-            { column: 'weather', value: 0.0 },
-            { column: 'event', value: 0.0 }
-        ]
-    },
-    {
-        label: 'Freight Performance',
-        presets: [
-            { column: 'aadtyr_1', value: 20.0 },
-            { column: 'aadtyr_20', value: 0.0 },
-            { column: 'growth_20', value: 0.0 },
-            { column: 'trkdyr_1', value: 60.0 },
-            { column: 'losyr_1', value: 20.0 },
-            { column: 'losyr_20', value: 0.0 },
-            { column: 'crash_rate', value: 0.0 },
-            { column: 'crash_severity', value: 0.0 },
-            { column: 'weather', value: 0.0 },
-            { column: 'event', value: 0.0 }
-        ]
-    }
-];
-var sliders = new Sliders_1.TipSliders(slidersConfig, presetConfig, 'slider-container', 'preset-selector', 'region-selector', 'version-selector', function (chg) { console.log(chg); });
-// sliders.changedCallback = (chg) => {console.log(chg)};
-window['glob'] = sliders;
-//# sourceMappingURL=slider-test.js.map
\ No newline at end of file
diff --git a/lib-ts/_test/slider-test.js.map b/lib-ts/_test/slider-test.js.map
deleted file mode 100644
index 31fc4acdb93a992b4fd107574a58f18ae0b4274c..0000000000000000000000000000000000000000
--- a/lib-ts/_test/slider-test.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"slider-test.js","sourceRoot":"","sources":["../../src-ts/_test/slider-test.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH,wBAA2D,wBAAwB,CAAC,CAAA;AAEpF,IAAI,aAAa,GAAG;IAChB;QACI,KAAK,EAAE,MAAM;QACb,WAAW,EAAE;YACT,EAAC,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,UAAU,EAAC;SACnC;KACJ;IACD;QACI,KAAK,EAAE,aAAa;QACpB,WAAW,EAAE;YACT,EAAC,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,UAAU,EAAC;YAChC,EAAC,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAC;YAClC,EAAC,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,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AAW,EAAE,KAAK,EAAE,GAAG,EAAC;YACjC,EAAC,MAAM,EAAE,WAAW,EAAE,KAAK,EAAE,GAAG,EAAC;YACjC,EAAC,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,IAAI,EAAC;YACjC,EAAC,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,IAAI,EAAC;YAChC,EAAC,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,GAAG,EAAC;YAChC,EAAC,MAAM,EAAE,YAAY,EAAE,KAAK,EAAE,GAAG,EAAC;YAClC,EAAC,MAAM,EAAE,gBAAgB,EAAE,KAAK,EAAE,GAAG,EAAC;YACtC,EAAC,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,EAAC;YAC/B,EAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,EAAC;SAChC;KACJ;CACsB,CAAC;AAG5B,IAAI,OAAO,GAAG,IAAI,oBAAU,CAAC,aAAa,EAAE,YAAY,EAAE,kBAAkB,EACxE,iBAAiB,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,UAAC,GAAG,IAAM,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA,CAAA,CAAC,CAAC,CAAC;AAE3F,yDAAyD;AAEzD,MAAM,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC"}
\ No newline at end of file
diff --git a/lib-ts/collections/ItsLayerCollection.d.ts b/lib-ts/collections/ItsLayerCollection.d.ts
deleted file mode 100644
index 27376a0b53195a9dfbe0fd4985f0ff9fc23b3823..0000000000000000000000000000000000000000
--- a/lib-ts/collections/ItsLayerCollection.d.ts
+++ /dev/null
@@ -1,36 +0,0 @@
-import { ol } from 'custom-ol';
-import LayerItsInventory from "../layers/LayerItsInventory";
-declare class ItsLayerCollection {
-    _map: ol.Map;
-    _layers: Array<LayerItsInventory>;
-    /**
-     * Create a collection of all ITS layers
-     * @param {ol.Map} theMap the openlayers map
-     * @param {Array} [exclude=[]] array of Its layer identifiers to exclude
-     *
-     * BLUE Bluetooth Detector - Bluetooth Detector
-     * CABINET Cabinets - The cabinets
-     * CCTV Camera - Traffic Cameras
-     * HUT Communication Hut - Communication Hut
-     * VAULT Communication Vault - The communication vaults
-     * HAR Highway Advisory Radio - Advisory Radios
-     * LIGHT Lighting - Lighting
-     * LOOP Loop Detectors - Loop Detectors
-     * DMS Message Board - Message Boards and Signs
-     * MICROWAVE Microwave Detector - Microwave Detectors
-     * PULL Pull Box - A pull box
-     * RWIS RWIS - Road weather information system
-     * GATE Ramp Gate - The ramp Gates
-     * METER Ramp Meter - The ramp meters
-     * SIGNAL Signal - Traffic Signal
-     * TOWER Tower - The towers
-     * TRENCH
-     */
-    constructor(theMap: ol.Map, exclude?: Array<string>);
-    /**
-     * Return the array of layers in this collection
-     * @returns {Array<LayerItsInventory>} an array of layers
-     */
-    layers: LayerItsInventory[];
-}
-export default ItsLayerCollection;
diff --git a/lib-ts/collections/ItsLayerCollection.js b/lib-ts/collections/ItsLayerCollection.js
deleted file mode 100644
index b55376d4096995f83bb2c651d8d83221c016bc94..0000000000000000000000000000000000000000
--- a/lib-ts/collections/ItsLayerCollection.js
+++ /dev/null
@@ -1,155 +0,0 @@
-/**
- * Created by gavorhes on 12/14/2015.
- */
-"use strict";
-var colors = require('../util/colors');
-var provide_1 = require('../util/provide');
-var LayerItsInventory_1 = require("../layers/LayerItsInventory");
-var nm = provide_1.default('collections');
-var itsConfig = [
-    {
-        name: 'Camera',
-        itsType: 'cctv',
-        minZoom: 11,
-        itsIconConfig: {
-            prop: 'owner',
-            defaultName: 'WisDOT',
-            defaultIcon: 'cctv.png',
-            iconArray: [
-                ['City of Madison', 'Madison', 'cctv-mad.png']
-            ]
-        }
-    },
-    {
-        name: 'Message Signs',
-        itsType: 'DMS',
-        minZoom: 11,
-        itsIconConfig: {
-            prop: 'dmsType',
-            defaultName: 'DMS',
-            defaultIcon: 'dms.png',
-            iconArray: [
-                ['pcms', 'PCMS', 'pcms.png']
-            ]
-        }
-    },
-    { name: 'ATR', itsType: 'atr', minZoom: 8, itsIcon: 'atr.png', visible: false },
-    { name: 'Lighting', itsType: 'light', minZoom: 16, itsIcon: 'streetlight.png', visible: false, onDemand: true },
-    { name: 'Bluetooth', itsType: 'blue', minZoom: 10, itsIcon: 'bluetooth.png', visible: false },
-    { name: 'Cabinets', itsType: 'cabinet', minZoom: 10, itsIcon: 'cabinet.png', visible: false },
-    { name: 'Hut', itsType: 'hut', minZoom: 10, itsIcon: 'hut.png', visible: false },
-    { name: 'Vault', itsType: 'vault', minZoom: 13, itsIcon: 'vault.png', visible: false },
-    { name: 'Advisory Radio', itsType: 'har', minZoom: 10, itsIcon: 'har.png', visible: false },
-    {
-        name: 'Loop Detectors',
-        itsType: 'loop',
-        legendCollapse: true,
-        minZoom: 14,
-        visible: false,
-        itsIconConfig: {
-            prop: 'dtctrType',
-            defaultName: 'Other',
-            defaultIcon: 'loopdetectorother.png',
-            iconArray: [
-                ['detector', 'Detector', 'loopdetector.png'],
-                ['long', 'Long', 'loopdetectorlong.png'],
-                ['zone', 'Zone', 'loopdetectorzone.png']
-            ]
-        },
-        onDemand: true
-    },
-    { name: 'Microwave', itsType: 'microwave', minZoom: 14, itsIcon: 'microwave.png', visible: false },
-    { name: 'Pull Box', itsType: 'pull', minZoom: 14, itsIcon: 'pullbox.png', visible: false, onDemand: true },
-    { name: 'RWIS', itsType: 'rwis', minZoom: 7, itsIcon: 'rwis.png', visible: false },
-    { name: 'Ramp Gates', itsType: 'gate', minZoom: 10, itsIcon: 'rampgate.png', visible: false },
-    { name: 'Ramp Meter', itsType: 'meter', minZoom: 10, itsIcon: 'rampmeter.png', visible: false },
-    { name: 'Signal', itsType: 'signal', minZoom: 13, itsIcon: 'signal.png', visible: false, onDemand: true },
-    { name: 'Tower', itsType: 'tower', minZoom: 10, itsIcon: 'tower.png', visible: false },
-    {
-        name: 'Trench',
-        itsType: 'trench',
-        onDemand: true,
-        visible: false,
-        onDemandDelay: 500,
-        minZoom: 15,
-        legendCollapse: true,
-        itsLineConfig: {
-            prop: 'owner',
-            //defaultName: 'Other',
-            //defaultWidth: 7,
-            defaultColor: colors.hexAlphaToRgbOrRgba('#747474', 0.8),
-            lineArray: [
-                ['WisDOT', 'WisDOT', colors.hexAlphaToRgbOrRgba('#FF032F', 0.7)],
-                ['WIN', 'WIN', colors.hexAlphaToRgbOrRgba('#FFC632', 0.7)],
-                ['USXchange', 'USXchange', colors.hexAlphaToRgbOrRgba('#2DFF46', 0.7)],
-                ['AT&T', 'AT&T', colors.hexAlphaToRgbOrRgba('#ff2be5', 0.7)],
-                ['Touch America', 'Touch America', colors.hexAlphaToRgbOrRgba('#52f3ff', 0.7)],
-                ['Qwest', 'Qwest', colors.hexAlphaToRgbOrRgba('#9278ff', 0.7)],
-                ['McLeodUSA', 'McLeodUSA', colors.hexAlphaToRgbOrRgba('#2926FF', 0.7)],
-                ['CINC', 'CINC', colors.hexAlphaToRgbOrRgba('#CB00FF', 0.7)],
-                ['City of Madison', 'Madison', colors.hexAlphaToRgbOrRgba('#000380', 0.7)]
-            ]
-        }
-    }
-];
-var ItsLayerCollection = (function () {
-    /**
-     * Create a collection of all ITS layers
-     * @param {ol.Map} theMap the openlayers map
-     * @param {Array} [exclude=[]] array of Its layer identifiers to exclude
-     *
-     * BLUE Bluetooth Detector - Bluetooth Detector
-     * CABINET Cabinets - The cabinets
-     * CCTV Camera - Traffic Cameras
-     * HUT Communication Hut - Communication Hut
-     * VAULT Communication Vault - The communication vaults
-     * HAR Highway Advisory Radio - Advisory Radios
-     * LIGHT Lighting - Lighting
-     * LOOP Loop Detectors - Loop Detectors
-     * DMS Message Board - Message Boards and Signs
-     * MICROWAVE Microwave Detector - Microwave Detectors
-     * PULL Pull Box - A pull box
-     * RWIS RWIS - Road weather information system
-     * GATE Ramp Gate - The ramp Gates
-     * METER Ramp Meter - The ramp meters
-     * SIGNAL Signal - Traffic Signal
-     * TOWER Tower - The towers
-     * TRENCH
-     */
-    function ItsLayerCollection(theMap, exclude) {
-        this._map = theMap;
-        this._layers = [];
-        exclude = typeof exclude == 'object' ? exclude : [];
-        for (var i = 0; i < itsConfig.length; i++) {
-            var lyrConfig = itsConfig[i];
-            var addLayer = true;
-            for (var j = 0; j < exclude.length; j++) {
-                if (exclude[j] == lyrConfig.itsType) {
-                    addLayer = false;
-                    break;
-                }
-            }
-            if (addLayer) {
-                var inventLyr = new LayerItsInventory_1.default(lyrConfig);
-                this._map.addLayer(inventLyr.olLayer);
-                this._layers.push(inventLyr);
-            }
-        }
-    }
-    Object.defineProperty(ItsLayerCollection.prototype, "layers", {
-        /**
-         * Return the array of layers in this collection
-         * @returns {Array<LayerItsInventory>} an array of layers
-         */
-        get: function () {
-            return this._layers;
-        },
-        enumerable: true,
-        configurable: true
-    });
-    return ItsLayerCollection;
-}());
-nm.ItsLayerCollection = ItsLayerCollection;
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.default = ItsLayerCollection;
-//# sourceMappingURL=ItsLayerCollection.js.map
\ No newline at end of file
diff --git a/lib-ts/collections/ItsLayerCollection.js.map b/lib-ts/collections/ItsLayerCollection.js.map
deleted file mode 100644
index b1c569213b931bdbfbccb2f791a462c8ea749072..0000000000000000000000000000000000000000
--- a/lib-ts/collections/ItsLayerCollection.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"ItsLayerCollection.js","sourceRoot":"","sources":["../../src-ts/collections/ItsLayerCollection.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,IAAY,MAAM,WAAM,gBAAgB,CAAC,CAAA;AACzC,wBAAoB,iBAAiB,CAAC,CAAA;AAEtC,kCAA8B,6BAA6B,CAAC,CAAA;AAC5D,IAAI,EAAE,GAAG,iBAAO,CAAC,aAAa,CAAC,CAAC;AAGhC,IAAI,SAAS,GAAG;IACZ;QACI,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,MAAM;QACf,OAAO,EAAE,EAAE;QACX,aAAa,EAAE;YACX,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,Q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CAAC;QACL,CAAC;IACL,CAAC;IAMD,sBAAI,sCAAM;QAJV;;;WAGG;aACH;YACI,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC;QACxB,CAAC;;;OAAA;IACL,yBAAC;AAAD,CAAC,AA7DD,IA6DC;AAED,EAAE,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;AAC3C;kBAAe,kBAAkB,CAAC"}
\ No newline at end of file
diff --git a/lib-ts/collections/LayerLegend.d.ts b/lib-ts/collections/LayerLegend.d.ts
deleted file mode 100644
index e6997b7a3272403fc28206cbd14a2aed21e754f6..0000000000000000000000000000000000000000
--- a/lib-ts/collections/LayerLegend.d.ts
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * a wrapper to make a legend
- */
-declare class LayerLegend {
-    $divElement: any;
-    _legendItems: any;
-    layerGroup: any;
-    legendId: any;
-    /**
-     *
-     * @param {Array} legendItems array of layers or objects with {groupName:  {string}, collapse: {boolean}, addCheck: {boolean}, items: {Array}}
-     * @param {string} divId the div where the legend should be added
-     * @param {object} options for legend
-     * @param {Array} [options.layerDivClasses=[]] optional array of classes to be applied to the layer legend divs for custom styling
-     * @param {string} [options.legendTitle=Legend] the legend title
-     * @param {boolean} [options.scaleDependent=true] if legend display is scale dependent
-     */
-    constructor(legendItems: any, divId: any, options: any);
-    /**
-     * @param {Array} [legendItems=this._layerConfig] the legend items
-     * @param {Array} [parents=[]] the ordered list of groups in which this item is a member
-     * @private
-     */
-    _buildTree(legendItems: any, parents?: any): void;
-}
-export default LayerLegend;
diff --git a/lib-ts/collections/LayerLegend.js b/lib-ts/collections/LayerLegend.js
deleted file mode 100644
index 9268f1b7bdb88e6d518927de744c45acf36706b6..0000000000000000000000000000000000000000
--- a/lib-ts/collections/LayerLegend.js
+++ /dev/null
@@ -1,287 +0,0 @@
-/**
- * Created by gavorhes on 12/16/2015.
- */
-"use strict";
-var provide_1 = require('../util/provide');
-var makeGuid_1 = require('../util/makeGuid');
-var mapMove_1 = require('../olHelpers/mapMove');
-var nm = provide_1.default('collections');
-var $ = require('jquery');
-var LayerGroup = (function () {
-    /**
-     *
-     * @param {object} [groupConfig={}] - group configuration object
-     * @param {string} groupConfig.groupName - the group name
-     * @param {boolean} [groupConfig.collapse=false] - if the group should be collapsed initially
-     * @param {boolean} [groupConfig.addCheck=true] - if the group should have a checkbox controlling visibility of all layers
-     * @param {LayerGroup} [parent=undefined] - the parent group
-     */
-    function LayerGroup(groupConfig, parent) {
-        this.groupLayers = [];
-        this.groupLayersLookup = {};
-        this.groupGroups = [];
-        this.groupGroupsLookup = {};
-        this.itemIdArray = [];
-        if (typeof groupConfig == 'undefined') {
-            this.parent = null;
-            this.groupId = 'root';
-            this.groupName = 'root';
-            this.allGroupLookup = { root: this };
-            this.allGroupArray = [this];
-            this.allLayerArray = [];
-            this.allLayerLookup = {};
-            this.layerParentLookup = {};
-            this.collapse = false;
-            this.addCheck = false;
-        }
-        else {
-            this.groupId = makeGuid_1.default();
-            this.parent = parent;
-            this.groupName = groupConfig.groupName;
-            this.collapse = typeof groupConfig.collapse == 'boolean' ? groupConfig.collapse : false;
-            this.addCheck = typeof groupConfig.addCheck == 'boolean' ? groupConfig.addCheck : true;
-        }
-    }
-    /**
-     *
-     * @param {object} groupConfig - configuration object
-     * @param {string} groupConfig.groupName - the group name
-     * @param {boolean} groupConfig.collapse if the group should be collapsed initially
-     * @param {boolean} groupConfig.addCheck if the group should have a checkbox controlling visibility of all layers
-     * @param {Array<LayerGroup>} parents parent groups
-     * @returns {LayerGroup} the layer group just added
-     */
-    LayerGroup.prototype.addGroup = function (groupConfig, parents) {
-        var parent;
-        if (parents.length > 0) {
-            parent = parents[parents.length - 1];
-        }
-        else {
-            parent = 'root';
-        }
-        /**
-         * @type {LayerGroup}
-         */
-        var parentGroup = this.allGroupLookup[parent];
-        var newGroup = new LayerGroup(groupConfig, parentGroup);
-        this.allGroupLookup[newGroup.groupId] = newGroup;
-        this.allGroupArray.push(newGroup);
-        parentGroup.groupGroups.push(newGroup);
-        parentGroup.groupGroupsLookup[newGroup.groupId] = newGroup;
-        if (parentGroup.itemIdArray.indexOf(newGroup.groupId) > 0) {
-            console.log(newGroup.groupId);
-            throw 'layer and group ids must be unique';
-        }
-        parentGroup.itemIdArray.push(newGroup.groupId);
-        return newGroup;
-    };
-    /**
-     *
-     * @param {LayerBase} newLayer the layer to be added
-     * @param {Array} parents array
-     */
-    LayerGroup.prototype.addLegendLayer = function (newLayer, parents) {
-        var parent;
-        if (parents.length > 0) {
-            parent = parents[parents.length - 1];
-        }
-        else {
-            parent = 'root';
-        }
-        this.allLayerLookup[newLayer.id] = newLayer;
-        this.allLayerArray.push(newLayer);
-        /**
-         * @type {LayerGroup}
-         */
-        var parentGroup = this.allGroupLookup[parent];
-        parentGroup.groupLayers.push(newLayer);
-        parentGroup.groupLayersLookup[newLayer.id] = newLayer;
-        if (parentGroup.itemIdArray.indexOf(newLayer.id) > 0) {
-            console.log(newLayer.id);
-            throw 'layer and group ids must be unique';
-        }
-        parentGroup.itemIdArray.push(newLayer.id);
-        this.layerParentLookup[newLayer.id] = parentGroup;
-    };
-    LayerGroup.prototype.getLegendHtml = function (legendId, options) {
-        var legendHtml = "<ul id=\"" + legendId + "\" class=\"legend-container\">";
-        legendHtml += ("<li>" + options.legendTitle + "<input type=\"checkbox\" checked id=\"suppress-by-extent-" + legendId + "\" class=\"suppress-by-extent\">") +
-            ("<label title=\"Suppress layers not visible at this zoom level\" for=\"suppress-by-extent-" + legendId + "\">") +
-            "<span></span>" +
-            "</label></li>";
-        legendHtml += this._buildLegend(this.itemIdArray, this, options.layerDivClasses) + '</ul>';
-        return legendHtml;
-    };
-    /**
-     * @param {Array} itemIds the items to process
-     * @param {LayerGroup} theGroup new group
-     * @param {Array} [layerDivClasses=[]] optional classes to apply to the layer divs
-     * @static
-     * @returns {string} html string
-     */
-    LayerGroup.prototype._buildLegend = function (itemIds, theGroup, layerDivClasses) {
-        if (itemIds.length == 0) {
-            return '';
-        }
-        var theHml = '';
-        var itemId = itemIds[0];
-        if (theGroup.groupLayersLookup[itemId]) {
-            /**
-             * @type {LayerBase}
-             */
-            var lyr = theGroup.groupLayersLookup[itemId];
-            theHml += ("<li id=\"" + lyr.id + "-layer-li\" class=\"legend-layer-li " + layerDivClasses.join(' ') + "\">") + lyr.getLegendDiv() + '</li>';
-        }
-        else if (theGroup.groupGroupsLookup[itemId]) {
-            /**
-             * type {LayerGroup}
-             */
-            var otherGroup = theGroup.groupGroupsLookup[itemId];
-            theHml += "<li>";
-            theHml += ("<div id=\"" + otherGroup.groupId + "-legend-layer-div\" ") +
-                ("class=\"legend-layer-group  " + layerDivClasses.join(' ') + "\">");
-            if (otherGroup.addCheck) {
-                theHml += ("<input type=\"checkbox\" checked id=\"" + otherGroup.groupId + "-group-chck\">") +
-                    ("<label for=\"" + otherGroup.groupId + "-group-chck\" title=\"Click arrow to expand or collapse\">" + otherGroup.groupName + "</label>");
-            }
-            else {
-                theHml += "<label title=\"Click arrow to expand or collapse\">" + otherGroup.groupName + "</label>";
-            }
-            theHml += "<span title=\"Expand/Collapse\" class=\"layer-group-expander";
-            theHml += (otherGroup.collapse ? ' legend-layer-group-initial-collapse' : '') + "\">";
-            theHml += otherGroup.collapse ? '&#9654;' : '&#9660;';
-            theHml += '</span>';
-            //parents.push(groupId);
-            theHml += '<ul>' + this._buildLegend(otherGroup.itemIdArray, otherGroup, layerDivClasses) + '</ul>';
-            theHml += '</div>';
-            theHml += '</li>';
-        }
-        return theHml + this._buildLegend(itemIds.slice(1), theGroup, layerDivClasses);
-    };
-    return LayerGroup;
-}());
-/**
- * a wrapper to make a legend
- */
-var LayerLegend = (function () {
-    /**
-     *
-     * @param {Array} legendItems array of layers or objects with {groupName:  {string}, collapse: {boolean}, addCheck: {boolean}, items: {Array}}
-     * @param {string} divId the div where the legend should be added
-     * @param {object} options for legend
-     * @param {Array} [options.layerDivClasses=[]] optional array of classes to be applied to the layer legend divs for custom styling
-     * @param {string} [options.legendTitle=Legend] the legend title
-     * @param {boolean} [options.scaleDependent=true] if legend display is scale dependent
-     */
-    function LayerLegend(legendItems, divId, options) {
-        for (var _i = 0, legendItems_1 = legendItems; _i < legendItems_1.length; _i++) {
-            var i = legendItems_1[_i];
-            if (typeof i == 'undefined') {
-                throw 'undefined item passed in array to legend constructor';
-            }
-        }
-        options = options || {};
-        options.legendTitle = typeof options.legendTitle == 'string' ? options.legendTitle : 'Legend';
-        options.scaleDependent = typeof options.scaleDependent == 'boolean' ? options.scaleDependent : true;
-        options.layerDivClasses = options.layerDivClasses || [];
-        // if legend display is scale dependent, make sure the mapMove object is initialized first
-        if (options.scaleDependent) {
-            mapMove_1.default.checkInit();
-        }
-        this.$divElement = $('#' + divId);
-        this._legendItems = legendItems;
-        this.layerGroup = new LayerGroup();
-        this._buildTree(legendItems);
-        this.legendId = makeGuid_1.default();
-        this.$divElement.append(this.layerGroup.getLegendHtml(this.legendId, options));
-        for (var _a = 0, _b = this.layerGroup.allLayerArray; _a < _b.length; _a++) {
-            var l = _b[_a];
-            l.applyCollapse();
-        }
-        var _this = this;
-        //// if legend display is scale dependent, make sure the mapMove object is initialized first
-        if (options.scaleDependent) {
-            mapMove_1.default.checkInit();
-            mapMove_1.default.addCallback(function (ext, zoom, evt) {
-                if (typeof evt == 'undefined' || evt == 'change:resolution') {
-                    for (var _i = 0, _a = this.layerGroup.allLayerArray; _i < _a.length; _i++) {
-                        var lyr = _a[_i];
-                        var $lyrLi = $('#' + lyr.id + '-layer-li');
-                        if (zoom > lyr.maxZoom || zoom < lyr.minZoom) {
-                            $lyrLi.addClass('layer-not-visible');
-                        }
-                        else {
-                            $lyrLi.removeClass('layer-not-visible');
-                        }
-                    }
-                }
-            }, this, 100, true, 'legend1');
-        }
-        // <editor-fold desc="add event listeners">
-        this.$divElement.find(".suppress-by-extent").change(function () {
-            var legendLayerLis = $('.legend-layer-li');
-            if (this.checked) {
-                legendLayerLis.removeClass('layer-force-show');
-            }
-            else {
-                legendLayerLis.addClass('layer-force-show');
-            }
-        });
-        this.$divElement.find('.legend-check').change(function () {
-            var lyrId = this.id.replace('-legend-layer-check', '');
-            _this.layerGroup.allLayerLookup[lyrId].visible = this.checked;
-        });
-        this.$divElement.find('.legend-layer-group > input[type=checkbox]').change(function () {
-            $(this).siblings('ul').find('input[type=checkbox]').prop('checked', this.checked).trigger('change');
-        });
-        this.$divElement.find('.layer-group-expander').click(function () {
-            var $this = $(this);
-            $this.removeClass('legend-layer-group-initial-collapse');
-            $this.siblings('ul').slideToggle();
-            if ($this.hasClass('legend-layer-group-collapsed')) {
-                $this.removeClass('legend-layer-group-collapsed');
-                $this.html('&#9660;');
-            }
-            else {
-                $this.addClass('legend-layer-group-collapsed');
-                $this.html('&#9654;');
-            }
-        });
-        this.$divElement.find('.legend-layer-group-initial-collapse').trigger('click');
-        // </editor-fold>
-    }
-    /**
-     * @param {Array} [legendItems=this._layerConfig] the legend items
-     * @param {Array} [parents=[]] the ordered list of groups in which this item is a member
-     * @private
-     */
-    LayerLegend.prototype._buildTree = function (legendItems, parents) {
-        if (legendItems.length == 0) {
-            return;
-        }
-        var oneItem = legendItems[0];
-        //reset the parent if the item is in the base array
-        if (this._legendItems.indexOf(oneItem) > -1 || typeof parents == 'undefined') {
-            parents = [];
-        }
-        if (typeof oneItem['groupName'] !== 'undefined') {
-            var groupItem = legendItems[0];
-            var newGroup = this.layerGroup.addGroup(groupItem, parents);
-            parents.push(newGroup.groupId);
-            this._buildTree(groupItem.items, parents);
-        }
-        else {
-            /**
-             * @type {LayerBase}
-             */
-            var layerItem = legendItems[0];
-            this.layerGroup.addLegendLayer(layerItem, parents);
-        }
-        this._buildTree(legendItems.slice(1), parents);
-    };
-    return LayerLegend;
-}());
-nm.LayerLegend = LayerLegend;
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.default = LayerLegend;
-//# sourceMappingURL=LayerLegend.js.map
\ No newline at end of file
diff --git a/lib-ts/collections/LayerLegend.js.map b/lib-ts/collections/LayerLegend.js.map
deleted file mode 100644
index a5ade04559e6132df990675aa4672d2035a8fa5a..0000000000000000000000000000000000000000
--- a/lib-ts/collections/LayerLegend.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"LayerLegend.js","sourceRoot":"","sources":["../../src-ts/collections/LayerLegend.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,wBAAoB,iBAAiB,CAAC,CAAA;AACtC,yBAAqB,kBAAkB,CAAC,CAAA;AACxC,wBAAoB,sBAAsB,CAAC,CAAA;AAC3C,IAAI,EAAE,GAAG,iBAAO,CAAC,aAAa,CAAC,CAAC;AAEhC,IAAM,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AAE5B;IAiBI;;;;;;;OAOG;IACH,oBAAY,WAAY,EAAE,MAAO;QAC7B,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC;QACtB,IAAI,CAAC,iBAAiB,GAAG,EAAE,CAAC;QAC5B,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC;QACtB,IAAI,CAAC,iBAAiB,GAAG,EAAE,CAAC;QAC5B,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC;QAEtB,EAAE,CAAC,CAAC,OAAO,WAAW,IAAI,WAAW,CAAC,CAAC,CAAC;YACpC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;YACnB,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;YACtB,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC;YACxB,IAAI,CAAC,cAAc,GAAG,EAAC,IAAI,EAAE,IAAI,EAAC,CAAC;YACnC,IAAI,CAAC,aAAa,GAAG,CAAC,IAAI,CAAC,CAAC;YAC5B,IAAI,CAAC,aAAa,GAAG,EAAE,CAAC;YACxB,IAAI,CAAC,cAAc,GAAG,EAAE,CAAC;YACzB,IAAI,CAAC,iBAAiB,GAAG,EAAE,CAAC;YAC5B,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;YACtB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;QAC1B,CAAC;QAAC,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/collections/Sliders.js
deleted file mode 100644
index 47d444aa64168674a561469bacbc7cace90d2f78..0000000000000000000000000000000000000000
--- a/lib-ts/collections/Sliders.js
+++ /dev/null
@@ -1,502 +0,0 @@
-/**
- * Created by gavorhes on 12/10/2015.
- */
-"use strict";
-var provide_1 = require('../util/provide');
-var nm = provide_1.default('collections');
-var $ = require('jquery');
-var TipPresets = (function () {
-    function TipPresets(conf) {
-        this.label = conf.label;
-        this.presets = conf.presets;
-        this.domId = this.label.replace(/ /g, '').toLowerCase();
-    }
-    return TipPresets;
-}());
-var _Slider = (function () {
-    /**
-     * Slider constructor
-     * @param sliderConfig - the configuration
-
-     */
-    function _Slider(sliderConfig) {
-        //let _this = this;
-        this._dropdownSelection = null;
-        this._weight = null;
-        this.name = sliderConfig.label;
-        this.domId = this.name.toLowerCase().replace(/ /g, '-');
-        this._locked = false;
-        this._min = 0.0;
-        this._max = 100;
-        this.labelLow = null;
-        this.labelHigh = null;
-        this.labelVal = null;
-        this.slider = null;
-        this.chk = null;
-        this.atMin = false;
-        this.atMax = false;
-        var sel = "<select class=\"" + (sliderConfig.yearOptions.length == 1 ? 'hidden-select' : 'show-select') + "\" id=\"" + this.domId + "_chg\">";
-        for (var i = 0; i < sliderConfig.yearOptions.length; i++) {
-            var itm = sliderConfig.yearOptions[i];
-            sel += "<option value=\"" + itm.column + "\">" + itm.label + "</option>";
-        }
-        sel += '</select>';
-        this.selectedParamDefault = this.selectedParam;
-        this.html = '<div class="slider-div">' +
-            ("<label for=\"" + this.domId + "_chk\" class=\"slider-label\">" + this.name + "</label>") +
-            sel + "<br>" +
-            ("<input id=\"" + this.domId + "_chk\" type=\"checkbox\" title=\"Lock/Unlock Slider\">") +
-            ("<label id=\"" + this.domId + "_low\" class=\"low-high\"></label>") +
-            ("<input id=\"" + this.domId + "\" type=\"range\" value=\"50\" min=\"0\" max=\"100\" step=\"0.1\">") +
-            ("<label id=\"" + this.domId + "_high\" class=\"low-high\"></label>") +
-            ("<label id=\"" + this.domId + "_lbl\" for=\"" + this.domId + "\" class=\"percent-label\"></label></div>");
-    }
-    /**
-     * add html to dom
-     * @param {jQuery} $container - container element
-     */
-    _Slider.prototype.addToDom = function ($container) {
-        $container.append(this.html);
-        this.labelLow = $("#" + this.domId + "_low");
-        this.labelHigh = $("#" + this.domId + "_high");
-        this.labelVal = $("#" + this.domId + "_lbl");
-        this.slider = $("#" + this.domId);
-        this.selectionBox = $("#" + this.domId + "_chg");
-        this.chk = $("#" + this.domId + "_chk");
-    };
-    /**
-     * increment the slider
-     * @param {number} delta change delta
-     * @returns {number} the remainder not able to be allocated to this slider
-     */
-    _Slider.prototype.increment = function (delta) {
-        var remainder = 0;
-        delta = Number(delta.toFixed(1));
-        this._weight += delta;
-        if (this._weight < this._min) {
-            remainder = this._min - this._weight;
-            this._weight = this._min;
-            this.atMin = true;
-        }
-        else if (this._weight > this._max) {
-            remainder = this._max - this._weight;
-            this._weight = this._max;
-            this.atMax = true;
-        }
-        else {
-            this.atMin = false;
-            this.atMax = false;
-        }
-        this.slider.val(this._weight.toFixed(1));
-        this.labelVal.html(this._weight.toFixed(1) + '%');
-        return remainder;
-    };
-    /**
-     * set the value and drop down
-     * @param {number} newVal the new value
-     * @param {string} selectedParam the selected parameter
-     */
-    _Slider.prototype.setValAndDropDown = function (newVal, selectedParam) {
-        this.min = 0;
-        this.max = 100;
-        this.weight = newVal;
-        this.slider.val(newVal.toFixed(1));
-        this.selectionBox.val(selectedParam);
-        this.selectedParam = selectedParam;
-        this.locked = true;
-    };
-    Object.defineProperty(_Slider.prototype, "locked", {
-        /**
-         *
-         * @returns {boolean} if locked
-         */
-        get: function () {
-            return this._locked;
-        },
-        /**
-         *
-         * @param {boolean} val if locked
-         */
-        set: function (val) {
-            this._locked = val;
-            this.slider.prop('disabled', this._locked);
-            this.selectionBox.prop('disabled', this._locked);
-            this.chk.prop('checked', !this._locked);
-        },
-        enumerable: true,
-        configurable: true
-    });
-    Object.defineProperty(_Slider.prototype, "min", {
-        /**
-         *
-         * @returns {number} the minimum
-         */
-        get: function () {
-            return this._min;
-        },
-        /**
-         *
-         * @param {number} newVal new minimum
-         */
-        set: function (newVal) {
-            this._min = Number(newVal.toFixed(1));
-            if (this._min < 0) {
-                this._min = 0;
-            }
-            this.labelLow.html(this._min.toFixed(1));
-            this.slider.attr('min', this._min.toFixed(1));
-            this.atMin = this._weight == this._min;
-        },
-        enumerable: true,
-        configurable: true
-    });
-    Object.defineProperty(_Slider.prototype, "max", {
-        /**
-         *
-         * @returns {number} the maximum
-         */
-        get: function () {
-            return this._max;
-        },
-        /**
-         *
-         * @param {number} newVal the maximum
-         */
-        set: function (newVal) {
-            this._max = Number(newVal.toFixed(1));
-            if (this._max > 100) {
-                this._max = 100.0;
-            }
-            this.labelHigh.html(this._max.toFixed(1));
-            this.slider.attr('max', this._max.toFixed(1));
-            this.atMax = this._weight == this._max;
-        },
-        enumerable: true,
-        configurable: true
-    });
-    Object.defineProperty(_Slider.prototype, "weight", {
-        /**
-         *
-         * @returns {number} the weight
-         */
-        get: function () {
-            return this._weight;
-        },
-        /**
-         *
-         * @param {number} newVal the weight
-         */
-        set: function (newVal) {
-            this._weight = Number(newVal.toFixed(1));
-            this.labelVal.html(this._weight.toFixed(1) + '%');
-            if (this._weight <= this._min) {
-                this.atMin = true;
-                this.atMax = false;
-            }
-            else if (this._weight >= this._max) {
-                this.atMin = false;
-                this.atMax = true;
-            }
-            else {
-                this.atMin = false;
-                this.atMax = false;
-            }
-        },
-        enumerable: true,
-        configurable: true
-    });
-    return _Slider;
-}());
-nm._Slider = _Slider;
-/**
- * class to keep track of the sliders
- */
-var TipSliders = (function () {
-    /**
-     *
-     * @param sliderConfigs
-     * @param presetConfig
-     * @param divId
-     * @param presetSelectorId
-     * @param regionSelectorId
-     * @param versionSelectorId
-     */
-    function TipSliders(sliderConfigs, presetConfig, divId, presetSelectorId, regionSelectorId, versionSelectorId, chgCallback) {
-        var _this = this;
-        this.resetting = false;
-        this.reservedPercent = 0.0;
-        this.$container = $('#' + divId);
-        this.$container.addClass('slider-container');
-        this.changedCallback = typeof chgCallback == 'function' ? chgCallback : function () { };
-        this._$presetSelector = $('#' + presetSelectorId);
-        this._$regionSelector = $('#' + regionSelectorId);
-        this._$versionSelector = $('#' + versionSelectorId);
-        this._sliderList = [];
-        this._sliderLookup = {};
-        for (var i = 0; i < sliderConfigs.length; i++) {
-            var sld = new _Slider(sliderConfigs[i]);
-            this._sliderList.push(sld);
-            this._sliderLookup[sld.domId] = sld;
-            sld.addToDom(this.$container);
-        }
-        this._presetArray = [];
-        this._presetLookup = {};
-        for (var i = 0; i < presetConfig.length; i++) {
-            var preset = new TipPresets(presetConfig[i]);
-            var idx = (i + 1).toFixed();
-            this._presetLookup[idx] = preset;
-            this._presetArray.push(preset);
-            this._$presetSelector.append("<option value=\"" + idx + "\">" + preset.label + "</option>");
-        }
-        this._lockedList = [];
-        this._inRangeList = [];
-        this._atMinList = [];
-        this._atMaxList = [];
-        this.lockedCount = 10;
-        this.notLockedCount = 0;
-        this._splitSliderArray();
-        this._$presetSelector.change(function () {
-            _this.setPresetValues();
-            _this._runChangedCallback();
-        });
-        this._$regionSelector.change(function () {
-            _this._runChangedCallback();
-        });
-        this._$versionSelector.change(function () {
-            _this._runChangedCallback();
-        });
-        this._$presetSelector.trigger('change');
-        this._addEventListeners();
-    }
-    TipSliders.prototype._runChangedCallback = function () {
-        this.changedCallback(this.paramWeightsRegionVersion);
-    };
-    TipSliders.prototype.setPresetValues = function () {
-        var thePreset = this._presetLookup[this._$presetSelector.val()];
-        for (var i = 0; i < thePreset.presets.length; i++) {
-            var presetValues = thePreset.presets[i];
-            var theSlider = this._sliderList[i];
-            theSlider.locked = true;
-            theSlider.setValAndDropDown(presetValues.value, presetValues.column);
-        }
-    };
-    /**
-     * split array into subarrays holding the sliders
-     * @private
-     */
-    TipSliders.prototype._splitSliderArray = function () {
-        this._lockedList = [];
-        this._inRangeList = [];
-        this._atMinList = [];
-        this._atMaxList = [];
-        for (var i = 0; i < this._sliderList.length; i++) {
-            var sld = this._sliderList[i];
-            if (sld.locked) {
-                this._lockedList.push(sld);
-            }
-            else if (sld.atMin) {
-                this._atMinList.push(sld);
-            }
-            else if (sld.atMax) {
-                this._atMaxList.push(sld);
-            }
-            else {
-                this._inRangeList.push(sld);
-            }
-        }
-        this.lockedCount = this._lockedList.length;
-        this.notLockedCount = this._sliderList.length - this.lockedCount;
-    };
-    /**
-     * handle remainder, recursive to take care of min max overshoots
-     * @param {number} remain the remainder
-     * @param {string} skipDomId - this dom id
-     * @private
-     */
-    TipSliders.prototype._handleRemainder = function (remain, skipDomId) {
-        remain = Number(remain.toFixed(1));
-        if (remain == 0) {
-            return;
-        }
-        this._splitSliderArray();
-        var canChangeArray = [];
-        for (var i = 0; i < this._inRangeList.length; i++) {
-            var sld = this._inRangeList[i];
-            if (sld.domId == skipDomId) {
-                continue;
-            }
-            canChangeArray.push(sld);
-        }
-        if (remain > 0) {
-            for (var i = 0; i < this._atMaxList.length; i++) {
-                var sld = this._atMaxList[i];
-                if (sld.domId == skipDomId) {
-                    continue;
-                }
-                canChangeArray.push(sld);
-            }
-        }
-        else {
-            for (var i = 0; i < this._atMinList.length; i++) {
-                var sld = this._atMinList[i];
-                if (sld.domId == skipDomId) {
-                    continue;
-                }
-                canChangeArray.push(sld);
-            }
-        }
-        if (canChangeArray.length == 0) {
-            return;
-        }
-        var inc = -1 * Number((remain / canChangeArray.length).toFixed(1));
-        var newRemainder = 0;
-        for (var i = 0; i < canChangeArray.length; i++) {
-            newRemainder += canChangeArray[i].increment(inc);
-        }
-        this._handleRemainder(newRemainder, skipDomId);
-    };
-    /**
-     *
-     * @param {object} keyValList key and value list
-     */
-    TipSliders.prototype.setValues = function (keyValList) {
-        this.resetting = true;
-        for (var k in keyValList) {
-            if (keyValList.hasOwnProperty(k)) {
-                this._sliderLookup[k].setValAndDropDown(keyValList[k][0], keyValList[k][1]);
-            }
-        }
-        this.resetting = false;
-    };
-    /**
-     * get the weight sum
-     * @returns {number} the weight sum
-     */
-    TipSliders.prototype.getSum = function () {
-        var total = 0;
-        for (var i = 0; i < this._sliderList.length; i++) {
-            var sld = this._sliderList[i];
-            total += Number(sld.weight.toFixed(1));
-        }
-        return total;
-    };
-    /**
-     * get the parameter weights
-     * @returns {object} lookup with parameter weights
-     */
-    TipSliders.prototype.getParams = function () {
-        var paramWeights = {};
-        for (var i = 0; i < this._sliderList.length; i++) {
-            var sld = this._sliderList[i];
-            paramWeights[sld.selectedParam] = Number(sld.weight.toFixed(1));
-        }
-        return paramWeights;
-    };
-    TipSliders.prototype._addEventListeners = function () {
-        var ___this = this;
-        //change function
-        this.$container.find('input[type="range"]').change(function () {
-            if (___this.resetting) {
-                return;
-            }
-            var $this = $(this);
-            var domId = this['id'];
-            var sldr = ___this._sliderLookup[domId];
-            var newValue = parseFloat($this.val());
-            var oldValue = sldr.weight;
-            var diff = newValue - oldValue;
-            diff = Number(diff.toFixed(1));
-            sldr.weight = Number(newValue.toFixed(1));
-            ___this._handleRemainder(diff, domId);
-            //cleanup, make sure the sum is still 100
-            var sum = Number(___this.getSum().toFixed(1));
-            if (sum > 100) {
-                loop1: while (true) {
-                    for (var i = 0; i < ___this._sliderList.length; i++) {
-                        var sld = ___this._sliderList[i];
-                        if (sld.domId == domId || sld.locked || sld.atMin) {
-                            continue;
-                        }
-                        sld.increment(-0.1);
-                        sum -= 0.1;
-                        if (sum.toFixed(1) == '100.0') {
-                            break loop1;
-                        }
-                    }
-                }
-            }
-            else if (sum < 100) {
-                loop1: while (true) {
-                    for (var i = 0; i < ___this._sliderList.length; i++) {
-                        var sld = ___this._sliderList[i];
-                        if (sld.domId == domId || sld.locked || sld.atMax) {
-                            continue;
-                        }
-                        sld.increment(0.1);
-                        sum += 0.1;
-                        if (sum.toFixed(1) == '100.0') {
-                            break loop1;
-                        }
-                    }
-                }
-            }
-            ___this._$presetSelector.val('0');
-            ___this._runChangedCallback();
-        });
-        //update the selected parameter when the selection is changed
-        $('.show-select').change(function () {
-            if (___this.resetting) {
-                return;
-            }
-            ___this._sliderLookup[this['id'].replace('_chg', '')].selectedParam = $(this).val();
-            ___this._$presetSelector.val('0');
-            ___this._runChangedCallback();
-        });
-        //lock the slider and update the reserved percent
-        this.$container.find('input[type="checkbox"]').change(function () {
-            var domEl = this;
-            ___this._sliderLookup[domEl.id.replace('_chk', '')].locked = !domEl.checked;
-            ___this.reservedPercent = 0.0;
-            ___this.notLockedCount = 0;
-            var notLockedSliders = [];
-            for (var i = 0; i < ___this._sliderList.length; i++) {
-                var sld = ___this._sliderList[i];
-                if (sld.locked) {
-                    ___this.reservedPercent += sld.weight;
-                    continue;
-                }
-                notLockedSliders.push(sld);
-                ___this.notLockedCount++;
-            }
-            for (var i = 0; i < ___this._sliderList.length; i++) {
-                var sld = ___this._sliderList[i];
-                if (sld.locked) {
-                    continue;
-                }
-                sld.max = 100 - ___this.reservedPercent;
-            }
-            if (notLockedSliders.length == 1) {
-                notLockedSliders[0].min = notLockedSliders[0].weight;
-            }
-            else {
-                for (var i = 0; i < notLockedSliders.length; i++) {
-                    notLockedSliders[i].min = 0;
-                }
-            }
-        });
-    };
-    Object.defineProperty(TipSliders.prototype, "paramWeightsRegionVersion", {
-        get: function () {
-            return { paramWeights: this.getParams(),
-                region: this._$regionSelector.val(), mmVersion: this._$versionSelector.val() };
-        },
-        enumerable: true,
-        configurable: true
-    });
-    return TipSliders;
-}());
-exports.TipSliders = TipSliders;
-nm.Sliders = TipSliders;
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.default = TipSliders;
-//# sourceMappingURL=Sliders.js.map
\ No newline at end of file
diff --git a/lib-ts/collections/Sliders.js.map b/lib-ts/collections/Sliders.js.map
deleted file mode 100644
index 96f2380a04ef92248da7c2ebb1fccfe6ef08fe02..0000000000000000000000000000000000000000
--- a/lib-ts/collections/Sliders.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Sliders.js","sourceRoot":"","sources":["../../src-ts/collections/Sliders.ts"],"names":[],"mappings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BAClD,IAAI,GAAG,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;gBACjC,EAAE,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC;oBACb,QAAQ,CAAC;gBACb,CAAC;gBACD,GAAG,CAAC,GAAG,GAAG,GAAG,GAAG,OAAO,CAAC,eAAe,CAAC;YAC5C,CAAC;YAED,EAAE,CAAC,CAAC,gBAAgB,CAAC,MAAM,IAAI,CAAC,CAAC,CAAC,CAAC;gBAC/B,gBAAgB,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,gBAAgB,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;YACzD,CAAC;YAAC,IAAI,CAAC,CAAC;gBACJ,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,gBAAgB,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;oBAC/C,gBAAgB,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC;gBAChC,CAAC;YACL,CAAC;QACL,CAAC,CAAC,CAAC;IAEP,CAAC;IAED,sBAAI,iDAAyB;aAA7B;YACI,MAAM,CAAC,EAAC,YAAY,EAAE,IAAI,CAAC,SAAS,EAAE;gBAClC,MAAM,EAAE,IAAI,CAAC,gBAAgB,CAAC,GAAG,EAAE,EAAE,SAAS,EAAE,IAAI,CAAC,iBAAiB,CAAC,GAAG,EAAE,EAAC,CAAA;QACrF,CAAC;;;OAAA;IACL,iBAAC;AAAD,CAAC,AAxWD,IAwWC;AAxWY,kBAAU,aAwWtB,CAAA;AAED,EAAE,CAAC,OAAO,GAAG,UAAU,CAAC;AACxB;kBAAe,UAAU,CAAC"}
\ No newline at end of file
diff --git a/lib-ts/domUtil/SelectBoxBase.d.ts b/lib-ts/domUtil/SelectBoxBase.d.ts
deleted file mode 100644
index e8bf18fc1344e22cc161f9122c7e77ded705b985..0000000000000000000000000000000000000000
--- a/lib-ts/domUtil/SelectBoxBase.d.ts
+++ /dev/null
@@ -1,52 +0,0 @@
-export interface selectChangeCallback {
-    /**
-     *
-     * @param theValue the current select value of the select box
-     */
-    (theValue: string): void;
-}
-/**
- * must return in the contents <select id="${guid}"></select> among other things
- */
-export interface contentGenerator {
-    /**
-     * @param aGuid
-     */
-    (aGuid: string): string;
-}
-export declare class SelectBoxBase {
-    _$container: JQuery;
-    $label: JQuery;
-    _box: JQuery;
-    _changeListeners: Array<selectChangeCallback>;
-    /**
-     *
-     * @param {jQuery} parent - parent container
-     * @param {string} labelContent
-     * @param {contentGenerator} [contentGen=undefined]
-     */
-    constructor(parent: any, labelContent: any, contentGen?: contentGenerator);
-    /**
-     *
-     * @returns {jQuery}
-     */
-    box: JQuery;
-    changed(): void;
-    /**
-     *
-     * @param {selectChangeCallback} func
-     */
-    addChangeListener(func: selectChangeCallback): void;
-    /**
-     *
-     * @returns {string|number}
-     */
-    /**
-     *
-     * @param {string|number} v
-     * @protected
-     */
-    selectedValue: any;
-    selectedText: string;
-}
-export default SelectBoxBase;
diff --git a/lib-ts/domUtil/SelectBoxBase.js b/lib-ts/domUtil/SelectBoxBase.js
deleted file mode 100644
index 8327a205ba926ddc853a1d87389fbbec56eb0cc1..0000000000000000000000000000000000000000
--- a/lib-ts/domUtil/SelectBoxBase.js
+++ /dev/null
@@ -1,119 +0,0 @@
-"use strict";
-/**
- * Created by gavorhes on 5/13/2016.
- */
-/**
- * Created by gavorhes on 5/12/2016.
- */
-var makeGuid_1 = require('../util/makeGuid');
-var provide_1 = require('../util/provide');
-var nm = provide_1.default('domUtil');
-var SelectBoxBase = (function () {
-    /**
-     *
-     * @param {jQuery} parent - parent container
-     * @param {string} labelContent
-     * @param {contentGenerator} [contentGen=undefined]
-     */
-    function SelectBoxBase(parent, labelContent, contentGen) {
-        var _this = this;
-        var guidTop = makeGuid_1.default();
-        var guid = makeGuid_1.default();
-        var htmlString = "<div id=\"" + guidTop + "\">";
-        htmlString += "<label for=\"" + guid + "\">" + labelContent + "</label>";
-        if (contentGen) {
-            htmlString += contentGen(guid);
-        }
-        else {
-            htmlString += "<select id=\"" + guid + "\"></select>";
-        }
-        htmlString += '</div>';
-        parent.append(htmlString);
-        this._$container = parent.find('#' + guidTop);
-        this.$label = this._$container.find('label');
-        /**
-         *
-         * @type {Array<selectChangeCallback>}
-         * @private
-         */
-        this._changeListeners = [];
-        this._box = parent.find("#" + guid);
-        if (!this._box) {
-            throw 'the select box was not found';
-        }
-        this._box.change(function () {
-            _this.changed();
-        });
-    }
-    Object.defineProperty(SelectBoxBase.prototype, "box", {
-        /**
-         *
-         * @returns {jQuery}
-         */
-        get: function () {
-            return this._box;
-        },
-        enumerable: true,
-        configurable: true
-    });
-    SelectBoxBase.prototype.changed = function () {
-        var v = this._box.val();
-        for (var _i = 0, _a = this._changeListeners; _i < _a.length; _i++) {
-            var f = _a[_i];
-            f(v);
-        }
-    };
-    /**
-     *
-     * @param {selectChangeCallback} func
-     */
-    SelectBoxBase.prototype.addChangeListener = function (func) {
-        this._changeListeners.push(func);
-    };
-    Object.defineProperty(SelectBoxBase.prototype, "selectedValue", {
-        /**
-         *
-         * @returns {string|number}
-         */
-        get: function () {
-            var theVal = this.box.val();
-            if (theVal == null || typeof theVal == 'undefined') {
-                return null;
-            }
-            else if (isNaN(theVal)) {
-                return theVal;
-            }
-            else {
-                if (theVal.indexOf('.') > -1) {
-                    return parseFloat(theVal);
-                }
-                else {
-                    return parseInt(theVal);
-                }
-            }
-        },
-        /**
-         *
-         * @param {string|number} v
-         * @protected
-         */
-        set: function (v) {
-            this.box.val(v);
-        },
-        enumerable: true,
-        configurable: true
-    });
-    Object.defineProperty(SelectBoxBase.prototype, "selectedText", {
-        get: function () {
-            return this.box.find('option:selected').text();
-        },
-        enumerable: true,
-        configurable: true
-    });
-    return SelectBoxBase;
-}());
-exports.SelectBoxBase = SelectBoxBase;
-nm.SelectBoxBase = SelectBoxBase;
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.default = SelectBoxBase;
-//# sourceMappingURL=SelectBoxBase.js.map
\ No newline at end of file
diff --git a/lib-ts/domUtil/SelectBoxBase.js.map b/lib-ts/domUtil/SelectBoxBase.js.map
deleted file mode 100644
index aa912aedf37eb324f96a499d60d019c7cbd6bfee..0000000000000000000000000000000000000000
--- a/lib-ts/domUtil/SelectBoxBase.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"SelectBoxBase.js","sourceRoot":"","sources":["../../src-ts/domUtil/SelectBoxBase.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH;;GAEG;AACH,yBAAqB,kBAAkB,CAAC,CAAA;AACxC,wBAAoB,iBAAiB,CAAC,CAAA;AACtC,IAAM,EAAE,GAAG,iBAAO,CAAC,SAAS,CAAC,CAAC;AAqB9B;IAKI;;;;;OAKG;IACH,uBAAY,MAAM,EAAE,YAAY,EAAE,UAA6B;QAXnE,iBA0GC;QA9FO,IAAI,OAAO,GAAG,kBAAQ,EAAE,CAAC;QACzB,IAAI,IAAI,GAAG,kBAAQ,EAAE,CAAC;QAEtB,IAAI,UAAU,GAAG,eAAY,OAAO,QAAI,CAAC;QACzC,UAAU,IAAI,kBAAe,IAAI,WAAK,YAAY,aAAU,CAAC;QAE7D,EAAE,CAAC,CAAC,UAAU,CAAC,CAAA,CAAC;YACZ,UAAU,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC;QACnC,CAAC;QAAC,IAAI,CAAC,CAAC;YACJ,UAAU,IAAI,kBAAe,IAAI,iBAAa,CAAC;QACnD,CAAC;QACD,UAAU,IAAI,QAAQ,CAAC;QAEvB,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;QAE1B,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,GAAG,OAAO,CAAC,CAAC;QAE9C,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAE7C;;;;WAIG;QACH,IAAI,CAAC,gBAAgB,GAAG,EAAE,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G,CAAC,CAAC,CAAC,CAAA,CAAC;oBAC1B,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,CAAA;gBAC7B,CAAC;gBAAC,IAAI,CAAC,CAAC;oBACJ,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;gBAC5B,CAAC;YACL,CAAC;QACL,CAAC;QAED;;;;WAIG;aACH,UAAkB,CAAC;YACf,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QACpB,CAAC;;;OATA;IAWD,sBAAI,uCAAY;aAAhB;YACI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,IAAI,EAAE,CAAC;QACnD,CAAC;;;OAAA;IAEL,oBAAC;AAAD,CAAC,AA1GD,IA0GC;AA1GY,qBAAa,gBA0GzB,CAAA;AAED,EAAE,CAAC,aAAa,GAAG,aAAa,CAAC;AAEjC;kBAAe,aAAa,CAAC"}
\ No newline at end of file
diff --git a/lib-ts/domUtil/animate-buttons.d.ts b/lib-ts/domUtil/animate-buttons.d.ts
deleted file mode 100644
index 8761a4dc64ce961efef2e33e98de51b35deeb835..0000000000000000000000000000000000000000
--- a/lib-ts/domUtil/animate-buttons.d.ts
+++ /dev/null
@@ -1,38 +0,0 @@
-import Timer = NodeJS.Timer;
-export declare class MediaControl {
-    _container: JQuery;
-    _min: number;
-    _max: number;
-    _playInterval: number;
-    _step: number;
-    _currentValue: number;
-    _playing: boolean;
-    _$btnStop: JQuery;
-    _$slider: JQuery;
-    _$valLabelVal: JQuery;
-    _$valLabelMin: JQuery;
-    _$valLabelMax: JQuery;
-    _interval: Timer;
-    _showAsDate: boolean;
-    _func: Function;
-    constructor(element: JQuery | HTMLElement | string, min?: number, max?: number, val?: number, step?: number, func?: Function, playInterval?: number, showAsDate?: boolean);
-    stopPlaying(): void;
-    playing: boolean;
-    min: number;
-    max: number;
-    step: number;
-    currentValue: number;
-    /**
-     * set min and max value with step
-     * @param {number} newMin the new min
-     * @param {number} newMax the new mas
-     * @param {number} [newValue=newMin] the value to set
-     * @param {number} [newStep=(newMax-newMin)/20] step value
-     */
-    setMinMaxValueStep(newMin: any, newMax: any, newValue: any, newStep: any): void;
-    /**
-     *
-     * @param {mediaCallback} newFunc the callback on change
-     */
-    changeFunction: any;
-}
diff --git a/lib-ts/domUtil/animate-buttons.js b/lib-ts/domUtil/animate-buttons.js
deleted file mode 100644
index e5bf8cc78e8361d5bb6ef10b47ed242c42aa7f0f..0000000000000000000000000000000000000000
--- a/lib-ts/domUtil/animate-buttons.js
+++ /dev/null
@@ -1,204 +0,0 @@
-"use strict";
-/**
- * Created by gavorhes on 11/2/2015.
- */
-var $ = require('jquery');
-var provide_1 = require('../util/provide');
-var range_change_1 = require('./range-change');
-var nm = provide_1.default('jQueryPlugin');
-/**
- * @callback mediaCallback
- * @param {number} tm
- */
-function timeToLocalDateString(tm) {
-    "use strict";
-    var d = new Date(tm);
-    var p1 = d.toLocaleTimeString().split(' ');
-    var p2 = p1[0].split(':');
-    p2 = p2.slice(0, 2);
-    return d.toLocaleDateString() + '<br>' + p2.join(':') + ' ' + p1[1];
-}
-var MediaControl = (function () {
-    function MediaControl(element, min, max, val, step, func, playInterval, showAsDate) {
-        var _this = this;
-        if (min === void 0) { min = 0; }
-        if (max === void 0) { max = 100; }
-        if (val === void 0) { val = 0; }
-        if (step === void 0) { step = 5; }
-        if (func === void 0) { func = function () { }; }
-        if (playInterval === void 0) { playInterval = 5; }
-        if (showAsDate === void 0) { showAsDate = false; }
-        if (typeof element == 'string') {
-            this._container = $('#' + element);
-        }
-        else if (typeof element['style'] !== 'undefined') {
-            this._container = $(element);
-        }
-        else {
-            this._container = element;
-        }
-        this._container.addClass('media-control-container');
-        this._playInterval = playInterval;
-        this._interval = undefined;
-        this._func = func;
-        this._showAsDate = showAsDate;
-        this._currentValue = undefined;
-        this._min = undefined;
-        this._max = undefined;
-        this._step = undefined;
-        this._playing = false;
-        var htmlStr = '<span class="media-player-button media-back"></span>' +
-            '<span class="media-player-button media-play"></span>' +
-            '<span class="media-player-button media-pause media-disabled"></span>' +
-            '<span class="media-player-button media-stop media-disabled" ></span>' +
-            '<span class="media-player-button media-ahead"></span>' +
-            "<input type=\"range\">" +
-            "<div class=\"media-control-value-label-container\">" +
-            "<span class=\"media-control-value-label-min\"></span>" +
-            "<span class=\"media-control-value-label-val\"></span>" +
-            "<span class=\"media-control-value-label-max\"></span>" +
-            "</div>";
-        this._container.append(htmlStr);
-        // let btnPause = this._container.find('.media-pause');
-        var btnPlay = this._container.find('.media-play');
-        this._$btnStop = this._container.find('.media-stop');
-        var btnAhead = this._container.find('.media-ahead');
-        var btnBack = this._container.find('.media-back');
-        this._$slider = this._container.find('input[type=range]');
-        this._$valLabelMin = this._container.find('.media-control-value-label-min');
-        this._$valLabelVal = this._container.find('.media-control-value-label-val');
-        this._$valLabelMax = this._container.find('.media-control-value-label-max');
-        this.setMinMaxValueStep(min, max, val, step);
-        range_change_1.rangeChange(this._$slider, function (newVal) { _this.currentValue = newVal; }, 100);
-        var ___this = this;
-        btnPlay.click(function () {
-            var $this = $(this);
-            $this.addClass('media-disabled');
-            ___this._$btnStop.removeClass('media-disabled');
-            btnAhead.addClass('media-locked');
-            btnBack.addClass('media-locked');
-            ___this._$slider.prop('disabled', true);
-            ___this._playing = true;
-            ___this._interval = setInterval(function () {
-                ___this.currentValue += ___this._step;
-            }, ___this._playInterval);
-        });
-        this._$btnStop.click(function () {
-            clearInterval(___this._interval);
-            var $this = $(this);
-            $this.addClass('media-disabled');
-            btnPlay.removeClass('media-disabled');
-            btnAhead.removeClass('media-locked');
-            btnBack.removeClass('media-locked');
-            ___this._$slider.prop('disabled', false);
-            ___this._playing = false;
-        });
-        btnAhead.click(function () {
-            ___this.currentValue = ___this.currentValue + ___this._step;
-        });
-        btnBack.click(function () {
-            ___this.currentValue = ___this.currentValue - ___this._step;
-        });
-    }
-    MediaControl.prototype.stopPlaying = function () {
-        if (this._playing) {
-            this._$btnStop.trigger('click');
-        }
-    };
-    Object.defineProperty(MediaControl.prototype, "playing", {
-        get: function () {
-            return this._playing;
-        },
-        enumerable: true,
-        configurable: true
-    });
-    Object.defineProperty(MediaControl.prototype, "min", {
-        get: function () {
-            return this._min;
-        },
-        enumerable: true,
-        configurable: true
-    });
-    Object.defineProperty(MediaControl.prototype, "max", {
-        get: function () {
-            return this._max;
-        },
-        enumerable: true,
-        configurable: true
-    });
-    Object.defineProperty(MediaControl.prototype, "step", {
-        get: function () {
-            return this._step;
-        },
-        enumerable: true,
-        configurable: true
-    });
-    Object.defineProperty(MediaControl.prototype, "currentValue", {
-        get: function () {
-            return this._currentValue;
-        },
-        set: function (newValue) {
-            if (newValue > this._max) {
-                newValue = this._min;
-            }
-            else if (newValue < this._min) {
-                newValue = this._max;
-            }
-            this._currentValue = newValue;
-            this._$slider.val(this._currentValue.toFixed(2));
-            if (this._showAsDate) {
-                this._$valLabelVal.html(timeToLocalDateString(this.currentValue));
-            }
-            else {
-                this._$valLabelVal.html(this.currentValue.toString());
-            }
-            this._func(newValue);
-        },
-        enumerable: true,
-        configurable: true
-    });
-    /**
-     * set min and max value with step
-     * @param {number} newMin the new min
-     * @param {number} newMax the new mas
-     * @param {number} [newValue=newMin] the value to set
-     * @param {number} [newStep=(newMax-newMin)/20] step value
-     */
-    MediaControl.prototype.setMinMaxValueStep = function (newMin, newMax, newValue, newStep) {
-        this._min = newMin;
-        this._max = newMax;
-        newValue = typeof newValue == 'number' ? newValue : newMin;
-        newStep = typeof newStep == 'number' ? newStep : (newMax - newMin) / 20;
-        this._currentValue = newValue;
-        this._step = newStep;
-        this._$slider.prop('min', this.min.toString());
-        this._$slider.prop('max', this.max.toString());
-        this._$slider.prop('step', this.step.toString());
-        this._$slider.val(this.currentValue.toString());
-        if (this._showAsDate) {
-            this._$valLabelMin.html(timeToLocalDateString(this._min));
-            this._$valLabelVal.html(timeToLocalDateString(this.currentValue));
-            this._$valLabelMax.html(timeToLocalDateString(this._max));
-        }
-        else {
-            this._$valLabelMin.html(this._min.toString());
-            this._$valLabelVal.html(this.currentValue.toString());
-            this._$valLabelMax.html(this._max.toString());
-        }
-    };
-    Object.defineProperty(MediaControl.prototype, "changeFunction", {
-        /**
-         *
-         * @param {mediaCallback} newFunc the callback on change
-         */
-        set: function (newFunc) {
-            this._func = newFunc;
-        },
-        enumerable: true,
-        configurable: true
-    });
-    return MediaControl;
-}());
-exports.MediaControl = MediaControl;
-nm.MediaControl = MediaControl;
-//# sourceMappingURL=animate-buttons.js.map
\ No newline at end of file
diff --git a/lib-ts/domUtil/animate-buttons.js.map b/lib-ts/domUtil/animate-buttons.js.map
deleted file mode 100644
index 662c079efe1c7441e4e259861d842d63c5b58a26..0000000000000000000000000000000000000000
--- a/lib-ts/domUtil/animate-buttons.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"animate-buttons.js","sourceRoot":"","sources":["../../src-ts/domUtil/animate-buttons.ts"],"names":[],"mappings":";AAGA;;GAEG;AAEH,IAAM,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AAC5B,wBAAoB,iBAAiB,CAAC,CAAA;AACtC,6BAA0B,gBAAgB,CAAC,CAAA;AAG3C,IAAI,EAAE,GAAG,iBAAO,CAAC,cAAc,CAAC,CAAC;AAEjC;;;GAGG;AAEH,+BAA+B,EAAE;IAC7B,YAAY,CAAC;IACb,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,EAAE,CAAC,CAAC;IACrB,IAAI,EAAE,GAAG,CAAC,CAAC,kBAAkB,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAC3C,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAC1B,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAEpB,MAAM,CAAC,CAAC,CAAC,kBAAkB,EAAE,GAAG,MAAM,GAAG,EAAE,CAAC,IA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I,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;YAC1D,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;YAClE,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;QAC9D,CAAC;QAAC,IAAI,CAAC,CAAC;YACJ,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;YAC9C,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC,CAAC;YACtD,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;QAClD,CAAC;IACL,CAAC;IAMD,sBAAI,wCAAc;QAJlB;;;WAGG;aACH,UAAmB,OAAO;YACtB,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC;QACzB,CAAC;;;OAAA;IACL,mBAAC;AAAD,CAAC,AAlMD,IAkMC;AAlMY,oBAAY,eAkMxB,CAAA;AAED,EAAE,CAAC,YAAY,GAAG,YAAY,CAAC"}
\ No newline at end of file
diff --git a/lib-ts/domUtil/range-change.d.ts b/lib-ts/domUtil/range-change.d.ts
deleted file mode 100644
index 944ff5f3972b1c150883f5f3499c79221d3a3d5e..0000000000000000000000000000000000000000
--- a/lib-ts/domUtil/range-change.d.ts
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * callback on range change interaction, context of this is the firing dom element
- * @callback rangeChangeCallback
- * @param {number} newValue
- * @param {number} ratio value from 0 to 1 relative of the value to the min and max
- * @param {object} evt
- */
-/***
- * callback funcion after the slider has been moved
- */
-export interface rangeChangedCallback {
-    /**
-     *
-     * @param newValue new value of the slider
-     * @param ratio ratio from low to high, 0 to 1
-     * @param evt the original event
-     */
-    (newValue: number, ratio: number, evt: Event): any;
-}
-/**
- * Add a variety of listeners for range inputs applied to a common callback
- * @param  $slider - jquery reference to the slider
- * @param {rangeChangeCallback} callback - the callback
- * @param {number} [changeTimeout=75] before the callback is called
- * @this {jQuery}
- * @returns {jQuery} the jQuery object
- */
-export declare function rangeChange($slider: JQuery, callback: rangeChangedCallback, changeTimeout: number): any;
diff --git a/lib-ts/domUtil/range-change.js b/lib-ts/domUtil/range-change.js
deleted file mode 100644
index 95ae2ec5e137edd935b5884681ae7b10d0686d33..0000000000000000000000000000000000000000
--- a/lib-ts/domUtil/range-change.js
+++ /dev/null
@@ -1,94 +0,0 @@
-"use strict";
-var mouseIn = false;
-var mouseDown = false;
-var timeout = null;
-var dragged = false;
-var lastVal;
-var $ = require('jquery');
-/**
- * Created by gavorhes on 11/2/2015.
- */
-function triggerCallback(callback, evt) {
-    "use strict";
-    var val = parseFloat(this.value);
-    var min = parseFloat(this.min);
-    var max = parseFloat(this.max);
-    var step = parseFloat(this.step);
-    if (max - val < step) {
-        val = max;
-    }
-    var percent = (val - min) / (max - min);
-    if (typeof lastVal == 'number' && val == lastVal) {
-        return;
-    }
-    lastVal = val;
-    callback(val, percent, evt);
-}
-/**
- * Add a variety of listeners for range inputs applied to a common callback
- * @param  $slider - jquery reference to the slider
- * @param {rangeChangeCallback} callback - the callback
- * @param {number} [changeTimeout=75] before the callback is called
- * @this {jQuery}
- * @returns {jQuery} the jQuery object
- */
-function rangeChange($slider, callback, changeTimeout) {
-    changeTimeout = typeof changeTimeout == 'number' ? changeTimeout : 75;
-    $slider.mouseenter(function () {
-        mouseIn = true;
-    });
-    $slider.mouseleave(function () {
-        mouseIn = false;
-        mouseDown = false;
-    });
-    $slider.mousedown(function () {
-        mouseDown = true;
-    });
-    $slider.mouseup(function () {
-        mouseDown = false;
-    });
-    $slider.mousemove(
-    /**
-     *
-     * @param {object} evt - event properties
-     * @this {HTMLElement}
-     */
-    function (evt) {
-        if (!(mouseIn && mouseDown)) {
-            return;
-        }
-        dragged = true;
-        if (lastVal == this['value']) {
-            return;
-        }
-        lastVal = this['value'];
-        if (timeout != null) {
-            clearTimeout(timeout);
-        }
-        var _this = this;
-        timeout = setTimeout(function () {
-            triggerCallback.call(_this, callback, evt);
-            timeout = null;
-        }, changeTimeout);
-    });
-    $slider.keyup(
-    /**
-     *
-     * @param {object} evt - event properties
-     */
-    function (evt) {
-        if (evt.keyCode == 37 || evt.keyCode == 39) {
-            triggerCallback.call(this, callback, evt);
-        }
-    });
-    $slider.change(function (evt) {
-        if (dragged) {
-            dragged = false;
-            return;
-        }
-        triggerCallback.call(this, callback, evt);
-    });
-    return this;
-}
-exports.rangeChange = rangeChange;
-//# sourceMappingURL=range-change.js.map
\ No newline at end of file
diff --git a/lib-ts/domUtil/range-change.js.map b/lib-ts/domUtil/range-change.js.map
deleted file mode 100644
index 04f579863c8ce957ffb9775d7da60235da58e41a..0000000000000000000000000000000000000000
--- a/lib-ts/domUtil/range-change.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"range-change.js","sourceRoot":"","sources":["../../src-ts/domUtil/range-change.ts"],"names":[],"mappings":";AAEA,IAAI,OAAO,GAAG,KAAK,CAAC;AACpB,IAAI,SAAS,GAAG,KAAK,CAAC;AACtB,IAAI,OAAO,GAAG,IAAI,CAAC;AACnB,IAAI,OAAO,GAAG,KAAK,CAAC;AACpB,IAAI,OAAO,CAAC;AACZ,IAAM,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AAyB5B;;GAEG;AAEH,yBAAyB,QAA8B,EAAE,GAAG;IACxD,YAAY,CAAC;IAEb,IAAI,GAAG,GAAG,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,GAAG,GAAG,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC/B,IAAI,GAAG,GAAG,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC/B,IAAI,IAAI,GAAG,UA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C,CAAC,CAAC;YAC3B,MAAM,CAAC;QACX,CAAC;QACD,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC;QAExB,EAAE,CAAC,CAAC,OAAO,IAAI,IAAI,CAAC,CAAC,CAAC;YAClB,YAAY,CAAC,OAAO,CAAC,CAAC;QAC1B,CAAC;QAED,IAAI,KAAK,GAAG,IAAI,CAAC;QAEjB,OAAO,GAAG,UAAU,CAAC;YACjB,eAAe,CAAC,IAAI,CAAC,KAAK,EAAE,QAAQ,EAAE,GAAG,CAAC,CAAC;YAC3C,OAAO,GAAG,IAAI,CAAC;QAEnB,CAAC,EAAE,aAAa,CAAC,CAAC;IACtB,CAAC,CAAC,CAAC;IAEH,OAAO,CAAC,KAAK;IACT;;;OAGG;IACH,UAAU,GAAG;QACb,EAAE,CAAC,CAAC,GAAG,CAAC,OAAO,IAAI,EAAE,IAAI,GAAG,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,CAAC;YACzC,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE,GAAG,CAAC,CAAC;QAC9C,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,OAAO,CAAC,MAAM,CAAC,UAAU,GAAG;QACxB,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;YACV,OAAO,GAAG,KAAK,CAAC;YAEhB,MAAM,CAAC;QACX,CAAC;QACD,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE,GAAG,CAAC,CAAC;IAC9C,CAAC,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC;AAChB,CAAC;AAzEe,mBAAW,cAyE1B,CAAA"}
\ No newline at end of file
diff --git a/lib-ts/index.d.ts b/lib-ts/index.d.ts
deleted file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000
diff --git a/lib-ts/index.js b/lib-ts/index.js
deleted file mode 100644
index fa69a5a9d218e56f92bd5aa7e54a4cb8302b5f02..0000000000000000000000000000000000000000
--- a/lib-ts/index.js
+++ /dev/null
@@ -1,2 +0,0 @@
-"use strict";
-//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/lib-ts/index.js.map b/lib-ts/index.js.map
deleted file mode 100644
index f9117bdf31534c869c064be60643f3aaaa096017..0000000000000000000000000000000000000000
--- a/lib-ts/index.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.js","sourceRoot":"","sources":["../src-ts/index.ts"],"names":[],"mappings":""}
\ No newline at end of file
diff --git a/lib-ts/jquery-plugin/day-range.d.ts b/lib-ts/jquery-plugin/day-range.d.ts
deleted file mode 100644
index 68533b2e24fe9869ec9bcb69b42adb7bba372e75..0000000000000000000000000000000000000000
--- a/lib-ts/jquery-plugin/day-range.d.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-export declare class DayRange {
-    _workingDayRange: number;
-    _$startDate: JQuery;
-    _$endDate: JQuery;
-    _maxDateRange: number;
-    _startDate: Date;
-    _endDate: Date;
-    /**
-     * constructor for the date range
-     * @param {number} dayRange number of days
-     * @param {jQuery|HTMLElement|*} jQueryRef reference to the jquery element
-     */
-    constructor(dayRange: any, jQueryRef: any);
-    /**
-     *
-     * @param val
-     */
-    startDate: Date;
-    endDate: Date;
-}
-export default DayRange;
diff --git a/lib-ts/jquery-plugin/day-range.js b/lib-ts/jquery-plugin/day-range.js
deleted file mode 100644
index aac449f4c452c491023ab527a41a6c5d90b8c8e3..0000000000000000000000000000000000000000
--- a/lib-ts/jquery-plugin/day-range.js
+++ /dev/null
@@ -1,96 +0,0 @@
-"use strict";
-var provide_1 = require('../util/provide');
-var nm = provide_1.default('jQueryPlugin');
-var $ = require('jquery');
-require('jquery-ui');
-var DayRange = (function () {
-    /**
-     * constructor for the date range
-     * @param {number} dayRange number of days
-     * @param {jQuery|HTMLElement|*} jQueryRef reference to the jquery element
-     */
-    function DayRange(dayRange, jQueryRef) {
-        this._workingDayRange = dayRange - 1;
-        var pickerHtml = '<label for="start-date" style="width: 78px; display: inline-block; margin:5px;">Start Date</label>' +
-            '<input type="text" readonly id="start-date" class="date-pick"  style="width: 90px;">' +
-            '<br><label for="end-date" style="width: 78px; display: inline-block;  margin:5px;">End Date</label>' +
-            '<input type="text" readonly id="end-date" class="date-pick" style="width: 90px;">';
-        jQueryRef.append(pickerHtml);
-        this._$startDate = $('#start-date');
-        this._$endDate = $('#end-date');
-        this._$startDate['datepicker']();
-        this._$endDate['datepicker']();
-        this._startDate = null;
-        this._endDate = null;
-        var dte1 = new Date();
-        dte1.setHours(0, 0, 0, 0);
-        var dte2 = new Date(dte1.getTime());
-        dte2.setDate(dte2.getDate() + dayRange);
-        dte2.setHours(23, 59, 59, 0);
-        this._maxDateRange = dte2.getTime() - dte1.getTime();
-        var _this = this;
-        //add event listeners
-        this._$startDate.change(function () {
-            _this.startDate = this.value;
-        });
-        this._$endDate.change(function () {
-            _this.endDate = this.value;
-        });
-        // initialize
-        this.endDate = new Date();
-    }
-    Object.defineProperty(DayRange.prototype, "startDate", {
-        get: function () {
-            return this._startDate;
-        },
-        /**
-         *
-         * @param val
-         */
-        set: function (val) {
-            this._startDate = val;
-            this._startDate.setHours(0, 0, 0, 0);
-            this._$startDate.val(this._startDate.toLocaleDateString());
-            if (this.endDate == null ||
-                this._endDate.getTime() - this._startDate.getTime() > this._maxDateRange ||
-                this._endDate.getTime() - this._startDate.getTime() < 24 * 60 * 60 * 1000) {
-                var tmpDate = new Date(this._startDate.getTime());
-                tmpDate.setDate(tmpDate.getDate() + this._workingDayRange);
-                this.endDate = new Date(tmpDate.getTime());
-            }
-        },
-        enumerable: true,
-        configurable: true
-    });
-    Object.defineProperty(DayRange.prototype, "endDate", {
-        get: function () {
-            return this._endDate;
-        },
-        set: function (val) {
-            this._endDate = val;
-            this._endDate.setHours(23, 59, 59, 0);
-            this._$endDate.val(this._endDate.toLocaleDateString());
-            if (this._startDate == null || this._endDate.getTime() - this.startDate.getTime() > this._maxDateRange || this._endDate.getTime() - this._startDate.getTime() < 24 * 60 * 60 * 1000) {
-                var tmpDate = new Date(this._endDate.getTime());
-                tmpDate.setDate(tmpDate.getDate() - this._workingDayRange);
-                this.startDate = new Date(tmpDate.getTime());
-            }
-        },
-        enumerable: true,
-        configurable: true
-    });
-    return DayRange;
-}());
-exports.DayRange = DayRange;
-nm.DayRange = DayRange;
-/**
- * Adds day range control
- * @param {number} dayRange the number of days
- * @returns {DayRange} the day range object
- */
-jQuery.fn.dayRange = function (dayRange) {
-    return new DayRange(dayRange, this);
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.default = DayRange;
-//# sourceMappingURL=day-range.js.map
\ No newline at end of file
diff --git a/lib-ts/jquery-plugin/day-range.js.map b/lib-ts/jquery-plugin/day-range.js.map
deleted file mode 100644
index 91e5b98eb6f12262dca953d7ca7713b0d785b339..0000000000000000000000000000000000000000
--- a/lib-ts/jquery-plugin/day-range.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"day-range.js","sourceRoot":"","sources":["../../src-ts/jquery-plugin/day-range.ts"],"names":[],"mappings":";AACA,wBAAoB,iBAAiB,CAAC,CAAA;AACtC,IAAI,EAAE,GAAG,iBAAO,CAAC,cAAc,CAAC,CAAC;AAEjC,IAAM,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AAC5B,OAAO,CAAC,WAAW,CAAC,CAAC;AAErB;IAQI;;;;OAIG;IACH,kBAAY,QAAQ,EAAE,SAAS;QAC3B,IAAI,CAAC,gBAAgB,GAAG,QAAQ,GAAG,CAAC,CAAC;QAErC,IAAI,UAAU,GAAG,oGAAoG;YACjH,sFAAsF;YACtF,qGAAqG;YACrG,mFAAmF,CAAC;QAExF,SAAS,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;QAE7B,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC,aAAa,CAAC,CAAC;QACpC,IAAI,CAAC,SAAS,GAAG,CAAC,CAAC,WAAW,CAAC,CAAC;QAEhC,IAAI,CAAC,WAAW,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,CAAC,aAAa,IAAI,IAAI,CAAC,QAAQ,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,UAAU,CAAC,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC;gBAClL,IAAI,OAAO,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAC;gBAChD,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,gBAAgB,CAAC,CAAC;gBAC3D,IAAI,CAAC,SAAS,GAAG,IAAI,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC;YACjD,CAAC;QACL,CAAC;;;OAZA;IAaL,eAAC;AAAD,CAAC,AA5FD,IA4FC;AA5FY,gBAAQ,WA4FpB,CAAA;AAED,EAAE,CAAC,QAAQ,GAAG,QAAQ,CAAC;AAEvB;;;;GAIG;AACH,MAAM,CAAC,EAAE,CAAC,QAAQ,GAAG,UAAU,QAAQ;IACnC,MAAM,CAAC,IAAI,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;AACxC,CAAC,CAAC;AAEF;kBAAe,QAAQ,CAAC"}
\ No newline at end of file
diff --git a/lib-ts/jquery/floatthead.d.ts b/lib-ts/jquery/floatthead.d.ts
deleted file mode 100644
index b9d7f5ed4d1735fd67c2c615d1cc80f17018883c..0000000000000000000000000000000000000000
--- a/lib-ts/jquery/floatthead.d.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-/**
- * implement the default window scroll
- * @param {jQuery} $table - jquery reference to table
- * @param {object} [options={}] float options
- */
-export declare function windowScroll($table: any, options: any): void;
-/**
- *
- * @param {jQuery} $table - jquery reference to table
- * @param {jQuery} $tableContainer - jquery reference to table
- * @param {object} [options={}] float options
- */
-export declare function overflowScroll($table: JQuery, $tableContainer: JQuery, options?: any): void;
-/**
- *
- * @param {jQuery} $table - jquery reference to table
- * @param {jQuery} $responsiveContainer - jquery reference to table
- * @param {object} [options={}] float options
- */
-export declare function responsiveScroll($table: JQuery, $responsiveContainer: JQuery, options?: any): void;
diff --git a/lib-ts/jquery/floatthead.js b/lib-ts/jquery/floatthead.js
deleted file mode 100644
index 7d13dce89d2e661c0f0936a3239703ecad3b6b77..0000000000000000000000000000000000000000
--- a/lib-ts/jquery/floatthead.js
+++ /dev/null
@@ -1,49 +0,0 @@
-"use strict";
-/**
- * Created by gavorhes on 6/22/2016.
- */
-var $ = require('jquery');
-global['jQuery'] = $;
-require('floatthead');
-/**
- * implement the default window scroll
- * @param {jQuery} $table - jquery reference to table
- * @param {object} [options={}] float options
- */
-function windowScroll($table, options) {
-    "use strict";
-    options = options || {};
-    $table['floatThead'](options);
-}
-exports.windowScroll = windowScroll;
-/**
- *
- * @param {jQuery} $table - jquery reference to table
- * @param {jQuery} $tableContainer - jquery reference to table
- * @param {object} [options={}] float options
- */
-function overflowScroll($table, $tableContainer, options) {
-    "use strict";
-    options = options || {};
-    options.scrollContainer = function (t) {
-        return $tableContainer;
-    };
-    $table['floatThead'](options);
-}
-exports.overflowScroll = overflowScroll;
-/**
- *
- * @param {jQuery} $table - jquery reference to table
- * @param {jQuery} $responsiveContainer - jquery reference to table
- * @param {object} [options={}] float options
- */
-function responsiveScroll($table, $responsiveContainer, options) {
-    "use strict";
-    options = options || {};
-    options.responsiveContainer = function (t) {
-        return $responsiveContainer;
-    };
-    $table['floatThead'](options);
-}
-exports.responsiveScroll = responsiveScroll;
-//# sourceMappingURL=floatthead.js.map
\ No newline at end of file
diff --git a/lib-ts/jquery/floatthead.js.map b/lib-ts/jquery/floatthead.js.map
deleted file mode 100644
index 34d7cd3cfda0b1cd647f851de90812a7c0ec104c..0000000000000000000000000000000000000000
--- a/lib-ts/jquery/floatthead.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"floatthead.js","sourceRoot":"","sources":["../../src-ts/jquery/floatthead.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH,IAAM,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AAC5B,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;AAErB,OAAO,CAAC,YAAY,CAAC,CAAC;AAItB;;;;GAIG;AACH,sBAA6B,MAAM,EAAE,OAAO;IACxC,YAAY,CAAC;IACb,OAAO,GAAG,OAAO,IAAI,EAAE,CAAC;IAExB,MAAM,CAAC,YAAY,CAAC,CAAC,OAAO,CAAC,CAAC;AAClC,CAAC;AALe,oBAAY,eAK3B,CAAA;AAED;;;;;GAKG;AACH,wBAA+B,MAAc,EAAE,eAAuB,EAAE,OAAQ;IAC5E,YAAY,CAAC;IACb,OAAO,GAAG,OAAO,IAAI,EAAE,CAAC;IAExB,OAAO,CAAC,eAAe,GAAG,UAAC,CAAC;QACxB,MAAM,CAAC,eAAe,CAAC;IAC3B,CAAC,CAAC;IAED,MAAM,CAAC,YAAY,CAAC,CAAC,OAAO,CAAC,CAAC;AACnC,CAAC;AATe,sBAAc,iBAS7B,CAAA;AAED;;;;;GAKG;AACH,0BAAiC,MAAc,EAAE,oBAA4B,EAAE,OAAQ;IACnF,YAAY,CAAC;IACb,OAAO,GAAG,OAAO,IAAI,EAAE,CAAC;IAExB,OAAO,CAAC,mBAAmB,GAAG,UAAC,CAAC;QAC5B,MAAM,CAAC,oBAAoB,CAAC;IAChC,CAAC,CAAC;IAEF,MAAM,CAAC,YAAY,CAAC,CAAC,OAAO,CAAC,CAAC;AAClC,CAAC;AATe,wBAAgB,mBAS/B,CAAA"}
\ No newline at end of file
diff --git a/lib-ts/layers/LayerBase.d.ts b/lib-ts/layers/LayerBase.d.ts
deleted file mode 100644
index 6bfe7700a15f9b78193a9365c63791730b9bc056..0000000000000000000000000000000000000000
--- a/lib-ts/layers/LayerBase.d.ts
+++ /dev/null
@@ -1,187 +0,0 @@
-/// <reference path="../../definitions/jquery.d.ts" />
-/// <reference path="../../definitions/node.d.ts" />
-import { ol } from 'custom-ol';
-export interface LayerBaseOptions {
-    id?: string;
-    name?: string;
-    opacity?: number;
-    visible?: boolean;
-    minZoom?: number;
-    maxZoom?: number;
-    params?: any;
-    zIndex?: number;
-    loadCallback?: Function;
-    legendCollapse?: boolean;
-    legendCheckbox?: boolean;
-    legendContent?: string;
-}
-/**
- * The base layer class
- * @abstract
- */
-export declare abstract class LayerBase {
-    _legendCheckbox: boolean;
-    _url: string;
-    _opacity: number;
-    _minZoom: number;
-    _maxZoom: number;
-    _visible: boolean;
-    _loaded: boolean;
-    _zIndex: number;
-    _legendContent: string;
-    _params: any;
-    id: string;
-    _name: string;
-    _source: ol.source.Source;
-    animate: boolean;
-    _legendCollapse: boolean;
-    _maxResolution: number;
-    _minResolution: number;
-    _$legendDiv: JQuery;
-    loadCallback: Function;
-    _olLayer: ol.layer.Layer;
-    _applyCollapseCalled: boolean;
-    /**
-     * The base layer for all others
-     * @param {string} url - url for source
-     * @param {object} options - config
-     * @param {string} [options.id=makeGuid()] - layer id
-     * @param {string} [options.name=Unnamed Layer] - layer name
-     * @param {number} [options.opacity=1] - opacity
-     * @param {boolean} [options.visible=true] - default visible
-     * @param {number} [options.minZoom=undefined] - min zoom level, 0 - 28
-     * @param {number} [options.maxZoom=undefined] - max zoom level, 0 - 28
-     * @param {object} [options.params={}] - the get parameters to include to retrieve the layer
-     * @param {number} [options.zIndex=0] - the z index for the layer
-     * @param {function} [options.loadCallback] - function to call on load, context this is the layer object
-     * @param {boolean} [options.legendCollapse=false] - if the legend item should be initially collapsed
-     * @param {boolean} [options.legendCheckbox=true] - if the legend item should have a checkbox for visibility
-     * @param {boolean} [options.legendContent=undefined] - additional content to add to the legend
-     */
-    constructor(url: string, options?: LayerBaseOptions);
-    /**
-     * base load function, sets _loaded = true if it is not already
-     * @protected
-     * @returns {boolean} if already loaded
-     */
-    _load(): boolean;
-    /**
-     * Get the legend html, be sure to only add to the DOM once
-     * @returns {string} html for layer wrapped in a div
-     */
-    getLegendDiv(): string;
-    /**
-     *
-     * @param {string|undefined} additionalContent - additional content to add to legend
-     * @private
-     */
-    _addLegendContent(additionalContent: any): void;
-    /**
-     * add additional content to the legend
-     * @param {string} [additionalContent=] - additonal content to add
-     */
-    addLegendContent(additionalContent: any): void;
-    applyCollapse(): any;
-    /**
-     * trick to refresh the layer
-     */
-    refresh(): void;
-    /**
-     * get the legend content
-     * @type {string}
-     */
-    /**
-     * set the legend content directly
-     * @param {string} newVal - new content
-     * @protected
-     */
-    legendContent: string;
-    /**
-     * get the map get params
-     * @type {object}
-     */
-    /**
-     * set the map get params
-     * @param {object} newParams - new get params
-     * @protected
-     */
-    params: any;
-    /**
-     * get the minimum resolution
-     * @type {number|*}
-     */
-    minResolution: number;
-    /**
-     * get the maximum resolution
-     * @type {number|*}
-     */
-    maxResolution: number;
-    /**
-     * get min zoom
-     * @type {number|*}
-     */
-    minZoom: number;
-    /**
-     * get max zoom
-     * @type {number|*}
-     */
-    maxZoom: number;
-    /**
-     * get the url
-     * @type {string}
-     */
-    url: string;
-    /**
-     * Get the layer visibility
-     * @type {boolean}
-     */
-    /**
-     * set the visibility
-     * @param visibility
-     */
-    visible: boolean;
-    protected setVisible(visibility: boolean): void;
-    /**
-     * Get the layer opacity
-     * @type {number}
-     */
-    /**
-     * Set the layer opacity
-     * @param {number} opacity - layer opacity
-     */
-    opacity: number;
-    /**
-     * Get the layer name
-     * @type {string}
-     */
-    /**
-     * set the layer name
-     * @param {string} newName - the new name
-     */
-    name: string;
-    /**
-     * Check if the layer is loaded
-     * @type {boolean}
-     */
-    loaded: boolean;
-    /**
-     * get the layer source
-     * @type {*}
-     */
-    source: ol.source.Source;
-    protected getSource(): ol.source.Source;
-    /**
-     * get the z index
-     */
-    /**
-     * set the z index
-     */
-    zIndex: number;
-    protected setZIndex(newZ: number): void;
-    /**
-     * the the ol layer
-     */
-    olLayer: ol.layer.Layer;
-    protected getOlLayer(): ol.layer.Layer;
-}
-export default LayerBase;
diff --git a/lib-ts/layers/LayerBase.js b/lib-ts/layers/LayerBase.js
deleted file mode 100644
index 666528925643c80c40f8c0bf5f885b0080f72763..0000000000000000000000000000000000000000
--- a/lib-ts/layers/LayerBase.js
+++ /dev/null
@@ -1,384 +0,0 @@
-"use strict";
-/// <reference path="../../definitions/jquery.d.ts" />
-/// <reference path="../../definitions/node.d.ts" />
-var $ = require('jquery');
-var makeGuid_1 = require('../util/makeGuid');
-var zoomResolutionConvert = require('../olHelpers/zoomResolutionConvert');
-var provide_1 = require('../util/provide');
-var nm = provide_1.default('layers');
-/**
- * The base layer class
- * @abstract
- */
-var LayerBase = (function () {
-    /**
-     * The base layer for all others
-     * @param {string} url - url for source
-     * @param {object} options - config
-     * @param {string} [options.id=makeGuid()] - layer id
-     * @param {string} [options.name=Unnamed Layer] - layer name
-     * @param {number} [options.opacity=1] - opacity
-     * @param {boolean} [options.visible=true] - default visible
-     * @param {number} [options.minZoom=undefined] - min zoom level, 0 - 28
-     * @param {number} [options.maxZoom=undefined] - max zoom level, 0 - 28
-     * @param {object} [options.params={}] - the get parameters to include to retrieve the layer
-     * @param {number} [options.zIndex=0] - the z index for the layer
-     * @param {function} [options.loadCallback] - function to call on load, context this is the layer object
-     * @param {boolean} [options.legendCollapse=false] - if the legend item should be initially collapsed
-     * @param {boolean} [options.legendCheckbox=true] - if the legend item should have a checkbox for visibility
-     * @param {boolean} [options.legendContent=undefined] - additional content to add to the legend
-     */
-    function LayerBase(url, options) {
-        options = options || {};
-        if (typeof url !== 'string') {
-            throw 'Invalid URL';
-        }
-        this._url = url;
-        this._params = typeof options.params == 'object' ? options.params : {};
-        this._legendCollapse = typeof options.legendCollapse == 'boolean' ? options.legendCollapse : false;
-        this._legendCheckbox = typeof options.legendCheckbox == 'boolean' ? options.legendCheckbox : true;
-        this.id = options.id || makeGuid_1.default();
-        this._name = options.name || 'Unnamed Layer';
-        this.animate = false;
-        this._opacity = typeof options.opacity == 'number' ? options.opacity : 1;
-        if (this._opacity > 1) {
-            this._opacity = 1;
-        }
-        else if (this._opacity < 0) {
-            this._opacity = 0;
-        }
-        this._visible = typeof options.visible === 'boolean' ? options.visible : true;
-        this._source = undefined;
-        /**
-         *
-         * @protected
-         */
-        this._olLayer = undefined;
-        this._loaded = false;
-        this._maxResolution = zoomResolutionConvert.zoomToResolution(options.minZoom);
-        if (typeof this._maxResolution !== 'undefined') {
-            this._maxResolution += 0.00001;
-        }
-        this._minResolution = zoomResolutionConvert.zoomToResolution(options.maxZoom);
-        this._minZoom = typeof options.minZoom == 'number' ? options.minZoom : undefined;
-        this._maxZoom = typeof options.maxZoom == 'number' ? options.maxZoom : undefined;
-        this._zIndex = typeof options.zIndex == 'number' ? options.zIndex : 0;
-        this.loadCallback = typeof options.loadCallback == 'function' ? options.loadCallback : function () {
-        };
-        this._legendContent = '';
-        if (this._legendCheckbox) {
-            this._legendContent += ("<input type=\"checkbox\" " + (this.visible ? 'checked' : '') + " ") +
-                ("class=\"legend-check\" id=\"" + this.id + "-legend-layer-check\"><span></span>");
-            this._legendContent += "<label for=\"" + this.id + "-legend-layer-check\" class=\"legend-layer-name\">" + this.name + "</label>";
-        }
-        else {
-            this._legendContent += "<label class=\"legend-layer-name\">" + this.name + "</label>";
-        }
-        this._$legendDiv = null;
-        this._applyCollapseCalled = false;
-        this._addLegendContent(typeof options.legendContent === 'string' ? options.legendContent : undefined);
-    }
-    /**
-     * base load function, sets _loaded = true if it is not already
-     * @protected
-     * @returns {boolean} if already loaded
-     */
-    LayerBase.prototype._load = function () {
-        if (this.loaded == true) {
-            return true;
-        }
-        else {
-            this._loaded = true;
-            return false;
-        }
-    };
-    /**
-     * Get the legend html, be sure to only add to the DOM once
-     * @returns {string} html for layer wrapped in a div
-     */
-    LayerBase.prototype.getLegendDiv = function () {
-        return "<div class=\"legend-layer-div\" id=\"" + this.id + "-legend-layer-div\">" + this._legendContent + "</div>";
-    };
-    /**
-     *
-     * @param {string|undefined} additionalContent - additional content to add to legend
-     * @private
-     */
-    LayerBase.prototype._addLegendContent = function (additionalContent) {
-        additionalContent = typeof additionalContent == 'string' ? additionalContent : '';
-        var addCollapse = additionalContent.indexOf('<ul>') > -1;
-        if (addCollapse) {
-            additionalContent = '<span class="legend-items-expander" title="Expand/Collapse">&#9660;</span>' + additionalContent;
-        }
-        this._legendContent += additionalContent;
-        this._$legendDiv = $("#" + this.id + "-legend-layer-div");
-        if (this._$legendDiv.length > 0) {
-            this._$legendDiv.append(additionalContent);
-            this.applyCollapse();
-        }
-    };
-    /**
-     * add additional content to the legend
-     * @param {string} [additionalContent=] - additonal content to add
-     */
-    LayerBase.prototype.addLegendContent = function (additionalContent) {
-        this._addLegendContent(additionalContent);
-    };
-    LayerBase.prototype.applyCollapse = function () {
-        if (this._applyCollapseCalled) {
-            console.log('collapse already applied');
-            return undefined;
-        }
-        this._$legendDiv = $("#" + this.id + "-legend-layer-div");
-        if (this._$legendDiv.length > 0) {
-            var $expander = this._$legendDiv.find('.legend-items-expander');
-            if ($expander.length > 0) {
-                this._applyCollapseCalled = true;
-                $expander.click(function () {
-                    var $this = $(this);
-                    $this.siblings('ul').slideToggle();
-                    if ($this.hasClass('legend-layer-group-collapsed')) {
-                        $this.removeClass('legend-layer-group-collapsed');
-                        $this.html('&#9660;');
-                    }
-                    else {
-                        $this.addClass('legend-layer-group-collapsed');
-                        $this.html('&#9654;');
-                    }
-                });
-                if (this._legendCollapse) {
-                    $expander.trigger('click');
-                }
-            }
-        }
-    };
-    /**
-     * trick to refresh the layer
-     */
-    LayerBase.prototype.refresh = function () {
-        if (this.source) {
-            this.source.refresh();
-        }
-    };
-    Object.defineProperty(LayerBase.prototype, "legendContent", {
-        /**
-         * get the legend content
-         * @type {string}
-         */
-        get: function () {
-            return this._legendContent;
-        },
-        /**
-         * set the legend content directly
-         * @param {string} newVal - new content
-         * @protected
-         */
-        set: function (newVal) {
-            this._legendContent = newVal;
-        },
-        enumerable: true,
-        configurable: true
-    });
-    Object.defineProperty(LayerBase.prototype, "params", {
-        /**
-         * get the map get params
-         * @type {object}
-         */
-        get: function () {
-            return this._params;
-        },
-        /**
-         * set the map get params
-         * @param {object} newParams - new get params
-         * @protected
-         */
-        set: function (newParams) {
-            this._params = newParams;
-        },
-        enumerable: true,
-        configurable: true
-    });
-    Object.defineProperty(LayerBase.prototype, "minResolution", {
-        /**
-         * get the minimum resolution
-         * @type {number|*}
-         */
-        get: function () {
-            return this._minResolution;
-        },
-        enumerable: true,
-        configurable: true
-    });
-    Object.defineProperty(LayerBase.prototype, "maxResolution", {
-        /**
-         * get the maximum resolution
-         * @type {number|*}
-         */
-        get: function () {
-            return this._maxResolution;
-        },
-        enumerable: true,
-        configurable: true
-    });
-    Object.defineProperty(LayerBase.prototype, "minZoom", {
-        /**
-         * get min zoom
-         * @type {number|*}
-         */
-        get: function () {
-            return this._minZoom;
-        },
-        enumerable: true,
-        configurable: true
-    });
-    Object.defineProperty(LayerBase.prototype, "maxZoom", {
-        /**
-         * get max zoom
-         * @type {number|*}
-         */
-        get: function () {
-            return this._maxZoom;
-        },
-        enumerable: true,
-        configurable: true
-    });
-    Object.defineProperty(LayerBase.prototype, "url", {
-        /**
-         * get the url
-         * @type {string}
-         */
-        get: function () {
-            return this._url;
-        },
-        enumerable: true,
-        configurable: true
-    });
-    Object.defineProperty(LayerBase.prototype, "visible", {
-        /**
-         * Get the layer visibility
-         * @type {boolean}
-         */
-        get: function () {
-            return this._visible;
-        },
-        /**
-         * set the visibility
-         * @param visibility
-         */
-        set: function (visibility) {
-            this.setVisible(visibility);
-        },
-        enumerable: true,
-        configurable: true
-    });
-    LayerBase.prototype.setVisible = function (visibility) {
-        this._visible = visibility;
-        if (this.olLayer) {
-            this.olLayer.setVisible(this._visible);
-            if (visibility && !this._loaded) {
-                this._load();
-            }
-        }
-    };
-    Object.defineProperty(LayerBase.prototype, "opacity", {
-        /**
-         * Get the layer opacity
-         * @type {number}
-         */
-        get: function () {
-            return this._opacity;
-        },
-        /**
-         * Set the layer opacity
-         * @param {number} opacity - layer opacity
-         */
-        set: function (opacity) {
-            this._opacity = opacity;
-            if (this.olLayer) {
-                this.olLayer.setOpacity(this._opacity);
-            }
-        },
-        enumerable: true,
-        configurable: true
-    });
-    Object.defineProperty(LayerBase.prototype, "name", {
-        /**
-         * Get the layer name
-         * @type {string}
-         */
-        get: function () {
-            return this._name;
-        },
-        /**
-         * set the layer name
-         * @param {string} newName - the new name
-         */
-        set: function (newName) {
-            this._name = newName;
-        },
-        enumerable: true,
-        configurable: true
-    });
-    Object.defineProperty(LayerBase.prototype, "loaded", {
-        /**
-         * Check if the layer is loaded
-         * @type {boolean}
-         */
-        get: function () {
-            return this._loaded;
-        },
-        enumerable: true,
-        configurable: true
-    });
-    Object.defineProperty(LayerBase.prototype, "source", {
-        /**
-         * get the layer source
-         * @type {*}
-         */
-        get: function () {
-            return this.getSource();
-        },
-        enumerable: true,
-        configurable: true
-    });
-    LayerBase.prototype.getSource = function () {
-        return this._source;
-    };
-    Object.defineProperty(LayerBase.prototype, "zIndex", {
-        /**
-         * get the z index
-         */
-        get: function () {
-            return this._zIndex;
-        },
-        /**
-         * set the z index
-         */
-        set: function (newZ) {
-            this._zIndex = newZ;
-        },
-        enumerable: true,
-        configurable: true
-    });
-    LayerBase.prototype.setZIndex = function (newZ) {
-    };
-    Object.defineProperty(LayerBase.prototype, "olLayer", {
-        /**
-         * the the ol layer
-         */
-        get: function () {
-            return this.getOlLayer();
-        },
-        enumerable: true,
-        configurable: true
-    });
-    LayerBase.prototype.getOlLayer = function () {
-        return this._olLayer;
-    };
-    return LayerBase;
-}());
-exports.LayerBase = LayerBase;
-nm.LayerBase = LayerBase;
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.default = LayerBase;
-//# sourceMappingURL=LayerBase.js.map
\ No newline at end of file
diff --git a/lib-ts/layers/LayerBase.js.map b/lib-ts/layers/LayerBase.js.map
deleted file mode 100644
index 350912d54a19ffbc9b01e1519ae269b569c40ebb..0000000000000000000000000000000000000000
--- a/lib-ts/layers/LayerBase.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"LayerBase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C,CAAC;gBACf,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YAC3C,CAAC;QACL,CAAC;;;OAXA;IAiBD,sBAAI,2BAAI;QAJR;;;WAGG;aACH;YACI,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC;QACtB,CAAC;QAED;;;WAGG;aACH,UAAS,OAAO;YACZ,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC;QACzB,CAAC;;;OARA;IAcD,sBAAI,6BAAM;QAJV;;;WAGG;aACH;YACI,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC;QACxB,CAAC;;;OAAA;IAMD,sBAAI,6BAAM;QAJV;;;WAGG;aACH;YACI,MAAM,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC;QAC5B,CAAC;;;OAAA;IAGS,6BAAS,GAAnB;QACI,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC;IACxB,CAAC;IAKD,sBAAI,6BAAM;QAHV;;WAEG;aACH;YACI,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC;QACxB,CAAC;QAED;;WAEG;aACH,UAAW,IAAY;YACnB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACxB,CAAC;;;OAPA;IASS,6BAAS,GAAnB,UAAoB,IAAY;IAEhC,CAAC;IAKD,sBAAI,8BAAO;QAHX;;WAEG;aACH;YACI,MAAM,CAAC,IAAI,CAAC,UAAU,EAAE,CAAC;QAC7B,CAAC;;;OAAA;IAES,8BAAU,GAApB;QACI,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC;IACzB,CAAC;IACL,gBAAC;AAAD,CAAC,AA1YD,IA0YC;AA1YqB,iBAAS,YA0Y9B,CAAA;AAED,EAAE,CAAC,SAAS,GAAG,SAAS,CAAC;AACzB;kBAAe,SAAS,CAAC"}
\ No newline at end of file
diff --git a/lib-ts/layers/LayerBaseVector.d.ts b/lib-ts/layers/LayerBaseVector.d.ts
deleted file mode 100644
index a5095e25c71d165c68fa774e0c1ee24e27c4a57a..0000000000000000000000000000000000000000
--- a/lib-ts/layers/LayerBaseVector.d.ts
+++ /dev/null
@@ -1,149 +0,0 @@
-/// <reference path="../../definitions/jquery.d.ts" />
-/// <reference path="../../definitions/node.d.ts" />
-import { LayerBase, LayerBaseOptions } from './LayerBase';
-import MapMoveCls from '../olHelpers/mapMoveCls';
-import { ol } from 'custom-ol';
-export interface makeMapMoveParams {
-    /**
-     *
-     * @param lyr
-     * @param extent
-     * @param zoomLevel
-     */
-    (lyr: LayerBaseVector, extent: Array<number>, zoomLevel?: number): any;
-}
-export interface LayerBaseVectorOptions extends LayerBaseOptions {
-    autoLoad?: boolean;
-    style?: ol.style.Style | Array<ol.style.Style> | ol.style.StyleFunction;
-    onDemand?: boolean;
-    onDemandDelay?: number;
-    mapMoveMakeGetParams?: makeMapMoveParams;
-    mapMoveObj?: MapMoveCls;
-}
-/**
- * The Vector layer base
- * @augments LayerBase
- * @abstract
- */
-export declare class LayerBaseVector extends LayerBase {
-    _olLayer: ol.layer.Vector;
-    _source: ol.source.Vector;
-    _style: ol.style.Style | Array<ol.style.Style> | ol.style.StyleFunction;
-    _autoLoad: boolean;
-    _onDemand: boolean;
-    _onDemandDelay: number;
-    _mapMoveMakeGetParams: makeMapMoveParams;
-    _mapMoveParams: any;
-    _mapMove: MapMoveCls;
-    _projectionMap: ol.proj.Projection;
-    _projection4326: ol.proj.Projection;
-    /**
-     * The base vector layer
-     * @param {string} url - pass an empty string to prevent default load and add from a json source
-     * @param {object} options - config
-     * @param {string} [options.id] - layer id
-     * @param {string} [options.name=Unnamed Layer] - layer name
-     * @param {number} [options.opacity=1] - opacity
-     * @param {boolean} [options.visible=true] - default visible
-     * @param {number} [options.minZoom=undefined] - min zoom level, 0 - 28
-     * @param {number} [options.maxZoom=undefined] - max zoom level, 0 - 28
-     * @param {object} [options.params={}] the get parameters to include to retrieve the layer
-     * @param {number} [options.zIndex=0] the z index for the layer
-     * @param {function} [options.loadCallback] function to call on load, context this is the layer object
-     * @param {boolean} [options.legendCollapse=false] if the legend item should be initially collapsed
-     * @param {boolean} [options.legendCheckbox=true] if the legend item should have a checkbox for visibility
-     * @param {boolean} [options.legendContent] additional content to add to the legend
-     *
-     * @param {boolean} [options.autoLoad=false] if the layer should auto load if not visible
-     * @param {object} [options.style=undefined] the layer style, use openlayers default style if not defined
-     * @param {boolean} [options.onDemand=false] if the layer should be loaded by extent on map move
-     * @param {number} [options.onDemandDelay=300] delay before the map move callback should be called
-     * @param {mapMoveMakeGetParams} [options.mapMoveMakeGetParams=function(lyr, extent, zoomLevel){}] function to create additional map move params
-     * @param {MapMoveCls} [options.mapMoveObj=mapMove] alternate map move object for use with multi map pages
-     *
-     */
-    constructor(url: string, options: LayerBaseVectorOptions);
-    /**
-     * dummy to be overridden
-     * @param {object} featureCollection - geojson or esrijson object
-     */
-    addFeatures(featureCollection: any): void;
-    /**
-     * Before call to map move callback, can prevent call by returning false
-     * @param {number} zoom - zoom level
-     * @param {string} [evtType=undefined] undefined for initial load, otherwise one of 'change:center', 'change:resolution'
-     * @returns {boolean} if the call should proceed
-     */
-    mapMoveBefore(zoom: any, evtType: any): boolean;
-    /**
-     * callback to generate the parameters passed in the get request
-     * @param {object} extent - extent object
-     * @param {number} extent.minX - minX
-     * @param {number} extent.minY - minY
-     * @param {number} extent.maxX - maxX
-     * @param {number} extent.maxY - maxY
-     * @param {number} zoomLevel - zoom level
-     */
-    mapMoveMakeGetParams(extent: any, zoomLevel: any): void;
-    /**
-     * callback function on map move
-     * @param {object} d - the json response
-     */
-    mapMoveCallback(d: any): void;
-    /**
-     * clear features in the layer
-     */
-    clear(): void;
-    /**
-     * get on demand delay in miliseconds
-     */
-    onDemandDelay: number;
-    /**
-     * get if the layer is autoloaded
-     */
-    autoLoad: boolean;
-    /**
-     * get the style definition
-     */
-    /**
-     * set the style
-     * @param style - the style or function
-     */
-    style: ol.style.StyleFunction | Array<ol.style.Style> | ol.style.Style;
-    /**
-     * get the map CRS if it is defined by the map move object
-     */
-    mapCrs: string;
-    mapProj: ol.proj.Projection;
-    /**
-     * get the map move object
-     * @type {MapMoveCls|*}
-     */
-    mapMove: MapMoveCls;
-    /**
-     * map move params
-     * @type {object}
-     */
-    mapMoveParams: any;
-    /**
-     * Set the layer visibility
-     * @type {boolean}
-     * @override
-     */
-    visible: boolean;
-    /**
-     * get the layer vector source
-     * @override
-     */
-    source: ol.source.Vector;
-    /**
-     * array of ol features
-     */
-    features: Array<ol.Feature>;
-    /**
-     *
-     */
-    olLayer: ol.layer.Vector;
-    protected setZIndex(newZ: number): void;
-}
-export default LayerBaseVector;
diff --git a/lib-ts/layers/LayerBaseVector.js b/lib-ts/layers/LayerBaseVector.js
deleted file mode 100644
index aa2b1ecaa48e87ee7be8e36fbda10dde16053f5e..0000000000000000000000000000000000000000
--- a/lib-ts/layers/LayerBaseVector.js
+++ /dev/null
@@ -1,291 +0,0 @@
-/// <reference path="../../definitions/jquery.d.ts" />
-/// <reference path="../../definitions/node.d.ts" />
-"use strict";
-var __extends = (this && this.__extends) || function (d, b) {
-    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
-    function __() { this.constructor = d; }
-    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-};
-var LayerBase_1 = require('./LayerBase');
-var mapMove_1 = require('../olHelpers/mapMove');
-var provide_1 = require('../util/provide');
-var custom_ol_1 = require('custom-ol');
-var $ = require('jquery');
-var g = new custom_ol_1.ol.Map({});
-var nm = provide_1.default('layers');
-/**
- * The Vector layer base
- * @augments LayerBase
- * @abstract
- */
-var LayerBaseVector = (function (_super) {
-    __extends(LayerBaseVector, _super);
-    /**
-     * The base vector layer
-     * @param {string} url - pass an empty string to prevent default load and add from a json source
-     * @param {object} options - config
-     * @param {string} [options.id] - layer id
-     * @param {string} [options.name=Unnamed Layer] - layer name
-     * @param {number} [options.opacity=1] - opacity
-     * @param {boolean} [options.visible=true] - default visible
-     * @param {number} [options.minZoom=undefined] - min zoom level, 0 - 28
-     * @param {number} [options.maxZoom=undefined] - max zoom level, 0 - 28
-     * @param {object} [options.params={}] the get parameters to include to retrieve the layer
-     * @param {number} [options.zIndex=0] the z index for the layer
-     * @param {function} [options.loadCallback] function to call on load, context this is the layer object
-     * @param {boolean} [options.legendCollapse=false] if the legend item should be initially collapsed
-     * @param {boolean} [options.legendCheckbox=true] if the legend item should have a checkbox for visibility
-     * @param {boolean} [options.legendContent] additional content to add to the legend
-     *
-     * @param {boolean} [options.autoLoad=false] if the layer should auto load if not visible
-     * @param {object} [options.style=undefined] the layer style, use openlayers default style if not defined
-     * @param {boolean} [options.onDemand=false] if the layer should be loaded by extent on map move
-     * @param {number} [options.onDemandDelay=300] delay before the map move callback should be called
-     * @param {mapMoveMakeGetParams} [options.mapMoveMakeGetParams=function(lyr, extent, zoomLevel){}] function to create additional map move params
-     * @param {MapMoveCls} [options.mapMoveObj=mapMove] alternate map move object for use with multi map pages
-     *
-     */
-    function LayerBaseVector(url, options) {
-        _super.call(this, url, options);
-        options = options;
-        //prevent regular load if no url has been provided
-        if (this.url.trim() == '') {
-            this._loaded = true;
-        }
-        this._style = typeof options.style == 'undefined' ? undefined : options.style;
-        if (this.visible) {
-            this._autoLoad = true;
-        }
-        else {
-            this._autoLoad = (typeof options['autoLoad'] == 'boolean' ? options['autoLoad'] : false);
-        }
-        this._onDemand = typeof options.onDemand == 'boolean' ? options.onDemand : false;
-        this._onDemandDelay = typeof options.onDemandDelay == 'number' ? options.onDemandDelay : 300;
-        if (options.mapMoveObj) {
-            this._mapMove = options.mapMoveObj;
-        }
-        else {
-            this._mapMove = this._onDemand ? mapMove_1.default : undefined;
-        }
-        this._mapMoveMakeGetParams = typeof options.mapMoveMakeGetParams == 'function' ? options.mapMoveMakeGetParams :
-            function () { return {}; };
-        if (this._onDemand) {
-            this._loaded = true;
-            this._mapMoveParams = {};
-            this._mapMove.checkInit();
-            this._mapMove.addVectorLayer(this);
-        }
-        this._source = new custom_ol_1.ol.source.Vector();
-        this._olLayer = new custom_ol_1.ol.layer.Vector({
-            source: this._source,
-            visible: this.visible,
-            style: this.style,
-            minResolution: this._minResolution,
-            maxResolution: this._maxResolution,
-            zIndex: this._zIndex
-        });
-        this._projectionMap = null;
-        this._projection4326 = new custom_ol_1.ol.proj.Projection({ code: "EPSG:4326" });
-    }
-    /**
-     * dummy to be overridden
-     * @param {object} featureCollection - geojson or esrijson object
-     */
-    LayerBaseVector.prototype.addFeatures = function (featureCollection) {
-        console.log('Layer vector base addFeatures is a placeholder and does nothing');
-    };
-    /**
-     * Before call to map move callback, can prevent call by returning false
-     * @param {number} zoom - zoom level
-     * @param {string} [evtType=undefined] undefined for initial load, otherwise one of 'change:center', 'change:resolution'
-     * @returns {boolean} if the call should proceed
-     */
-    LayerBaseVector.prototype.mapMoveBefore = function (zoom, evtType) {
-        if (this.minZoom !== undefined) {
-            if (zoom < this.minZoom) {
-                return false;
-            }
-        }
-        if (this.maxZoom !== undefined) {
-            if (zoom > this.maxZoom) {
-                return false;
-            }
-        }
-        return this.visible;
-    };
-    /**
-     * callback to generate the parameters passed in the get request
-     * @param {object} extent - extent object
-     * @param {number} extent.minX - minX
-     * @param {number} extent.minY - minY
-     * @param {number} extent.maxX - maxX
-     * @param {number} extent.maxY - maxY
-     * @param {number} zoomLevel - zoom level
-     */
-    LayerBaseVector.prototype.mapMoveMakeGetParams = function (extent, zoomLevel) {
-        this._mapMoveParams = {};
-        $.extend(this._mapMoveParams, this.params);
-        $.extend(this._mapMoveParams, this._mapMoveMakeGetParams(this, extent, zoomLevel));
-    };
-    /**
-     * callback function on map move
-     * @param {object} d - the json response
-     */
-    LayerBaseVector.prototype.mapMoveCallback = function (d) {
-        if (this.source) {
-            this._source.clear();
-        }
-    };
-    /**
-     * clear features in the layer
-     */
-    LayerBaseVector.prototype.clear = function () {
-        if (this._source) {
-            this._source.clear();
-        }
-    };
-    Object.defineProperty(LayerBaseVector.prototype, "onDemandDelay", {
-        /**
-         * get on demand delay in miliseconds
-         */
-        get: function () {
-            return this._onDemandDelay;
-        },
-        enumerable: true,
-        configurable: true
-    });
-    Object.defineProperty(LayerBaseVector.prototype, "autoLoad", {
-        /**
-         * get if the layer is autoloaded
-         */
-        get: function () {
-            return this._autoLoad;
-        },
-        enumerable: true,
-        configurable: true
-    });
-    Object.defineProperty(LayerBaseVector.prototype, "style", {
-        /**
-         * get the style definition
-         */
-        get: function () {
-            return this._style;
-        },
-        /**
-         * set the style
-         * @param style - the style or function
-         */
-        set: function (style) {
-            this._style = style;
-            this.olLayer.setStyle(this._style);
-        },
-        enumerable: true,
-        configurable: true
-    });
-    Object.defineProperty(LayerBaseVector.prototype, "mapCrs", {
-        /**
-         * get the map CRS if it is defined by the map move object
-         */
-        get: function () {
-            return this.mapProj == null ? null : this.mapProj.getCode();
-        },
-        enumerable: true,
-        configurable: true
-    });
-    Object.defineProperty(LayerBaseVector.prototype, "mapProj", {
-        get: function () {
-            if (this._projectionMap != null) {
-                return this._projectionMap;
-            }
-            if (this._mapMove) {
-                this._projectionMap = this._mapMove.map.getView().getProjection();
-                return this._projectionMap;
-            }
-            else {
-                return null;
-            }
-        },
-        enumerable: true,
-        configurable: true
-    });
-    Object.defineProperty(LayerBaseVector.prototype, "mapMove", {
-        /**
-         * get the map move object
-         * @type {MapMoveCls|*}
-         */
-        get: function () {
-            return this._mapMove;
-        },
-        enumerable: true,
-        configurable: true
-    });
-    Object.defineProperty(LayerBaseVector.prototype, "mapMoveParams", {
-        /**
-         * map move params
-         * @type {object}
-         */
-        get: function () {
-            return this._mapMoveParams;
-        },
-        enumerable: true,
-        configurable: true
-    });
-    Object.defineProperty(LayerBaseVector.prototype, "visible", {
-        get: function () {
-            return this._visible;
-        },
-        /**
-         * Set the layer visibility
-         * @type {boolean}
-         * @override
-         */
-        set: function (visibility) {
-            _super.prototype.setVisible.call(this, visibility);
-            if (this._onDemand) {
-                this.mapMove.triggerLyrLoad(this);
-            }
-        },
-        enumerable: true,
-        configurable: true
-    });
-    Object.defineProperty(LayerBaseVector.prototype, "source", {
-        /**
-         * get the layer vector source
-         * @override
-         */
-        get: function () {
-            return this.getSource();
-        },
-        enumerable: true,
-        configurable: true
-    });
-    Object.defineProperty(LayerBaseVector.prototype, "features", {
-        /**
-         * array of ol features
-         */
-        get: function () {
-            return this.source.getFeatures();
-        },
-        enumerable: true,
-        configurable: true
-    });
-    Object.defineProperty(LayerBaseVector.prototype, "olLayer", {
-        /**
-         *
-         */
-        get: function () {
-            return _super.prototype.getOlLayer.call(this);
-        },
-        enumerable: true,
-        configurable: true
-    });
-    LayerBaseVector.prototype.setZIndex = function (newZ) {
-        this.olLayer.setZIndex(newZ);
-    };
-    return LayerBaseVector;
-}(LayerBase_1.LayerBase));
-exports.LayerBaseVector = LayerBaseVector;
-nm.LayerBaseVector = LayerBaseVector;
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.default = LayerBaseVector;
-//# sourceMappingURL=LayerBaseVector.js.map
\ No newline at end of file
diff --git a/lib-ts/layers/LayerBaseVector.js.map b/lib-ts/layers/LayerBaseVector.js.map
deleted file mode 100644
index e61a77e0571e25a0013b1ba7f363789578cca14b..0000000000000000000000000000000000000000
--- a/lib-ts/layers/LayerBaseVector.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"LayerBaseVector.js","sourceRoot":"","sources":["../../src-ts/layers/LayerBaseVector.ts"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,oDAAoD;;;;;;;AAGpD,0BAA0C,aAAa,CAAC,CAAA;AACxD,wBAAoB,sBAAsB,CAAC,CAAA;AAE3C,wBAAoB,iBAAiB,CAAC,CAAA;AACtC,0BAAiB,WAAW,CAAC,CAAA;AAC7B,IAAM,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AAE5B,IAAI,CAAC,GAAG,IAAI,cAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;AAEvB,IAAM,EAAE,GAAG,iBAAO,CAAC,QAAQ,CAAC,CAAC;AAwB7B;;;;GAIG;AACH;IAAqC,m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AS,CAAC,CAAC,CAAC;gBACjB,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;YACtC,CAAC;QACL,CAAC;;;OAbA;IAmBD,sBAAI,mCAAM;QAJV;;;WAGG;aACH;YACI,MAAM,CAAC,IAAI,CAAC,SAAS,EAAsB,CAAC;QAChD,CAAC;;;OAAA;IAKD,sBAAI,qCAAQ;QAHZ;;WAEG;aACH;YACI,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,CAAC;QACrC,CAAC;;;OAAA;IAKD,sBAAI,oCAAO;QAHX;;WAEG;aACH;YACI,MAAM,CAAC,gBAAK,CAAC,UAAU,WAAqB,CAAC;QACjD,CAAC;;;OAAA;IAES,mCAAS,GAAnB,UAAoB,IAAY;QAC5B,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IACjC,CAAC;IACL,sBAAC;AAAD,CAAC,AA5QD,CAAqC,qBAAS,GA4Q7C;AA5QY,uBAAe,kBA4Q3B,CAAA;AAED,EAAE,CAAC,eAAe,GAAG,eAAe,CAAC;AACrC;kBAAe,eAAe,CAAC"}
\ No newline at end of file
diff --git a/lib-ts/layers/LayerBaseVectorGeoJson.d.ts b/lib-ts/layers/LayerBaseVectorGeoJson.d.ts
deleted file mode 100644
index f825259ede10d4e1cfe502711b3622b9b58afa16..0000000000000000000000000000000000000000
--- a/lib-ts/layers/LayerBaseVectorGeoJson.d.ts
+++ /dev/null
@@ -1,68 +0,0 @@
-/**
- * Created by gavorhes on 11/2/2015.
- */
-import { LayerBaseVector, LayerBaseVectorOptions } from './LayerBaseVector';
-import { ol } from 'custom-ol';
-import { MapMoveCls } from "../olHelpers/mapMoveCls";
-export interface LayerBaseVectorGeoJsonOptions extends LayerBaseVectorOptions {
-    transform?: CrsTransform;
-    mapMoveObj?: MapMoveCls;
-}
-export interface CrsTransform {
-    dataProjection: ol.proj.Projection | string;
-    featureProjection: ol.proj.Projection | string;
-}
-/**
- * The Vector GeoJson Layer
- * @augments LayerBaseVector
- */
-declare class LayerBaseVectorGeoJson extends LayerBaseVector {
-    _geoJsonFormat: ol.format.GeoJSON;
-    _transform: CrsTransform;
-    /**
-     * @param {string|undefined|null} url - resource url, set to '' to make blank layer
-     * @param {object} options - config
-     * @param {string} [options.id] - layer id
-     * @param {string} [options.name=Unnamed Layer] - layer name
-     * @param {number} [options.opacity=1] - opacity
-     * @param {boolean} [options.visible=true] - default visible
-     * @param {number} [options.minZoom=undefined] - min zoom level, 0 - 28
-     * @param {number} [options.maxZoom=undefined] - max zoom level, 0 - 28
-     * @param {object} [options.params={}] the get parameters to include to retrieve the layer
-     * @param {number} [options.zIndex=0] the z index for the layer
-     * @param {function} [options.loadCallback] function to call on load, context this is the layer object
-     * @param {boolean} [options.legendCollapse=false] if the legend item should be initially collapsed
-     * @param {boolean} [options.legendCheckbox=true] if the legend item should have a checkbox for visibility
-     * @param {boolean} [options.legendContent] additional content to add to the legend
-     *
-     * @param {boolean} [options.autoLoad=false] if the layer should auto load if not visible
-     * @param {object} [options.style=undefined] the layer style, use openlayers default style if not defined
-     * @param {boolean} [options.onDemand=false] if the layer should be loaded by extent on map move
-     * @param {number} [options.onDemandDelay=300] delay before the map move callback should be called
-     *
-     * @param {object} [options.transform={}] SR transform, set as false for no transform
-     * @param {string} options.transform.dataProjection=EPSG:4326 the data CRS
-     * @param {string} options.transform.featureProjection=EPSG:3857 the feature/map CRS
-     * @param {mapMoveMakeGetParams} [options.mapMoveMakeGetParams=function(lyr, extent, zoomLevel){}] function to create additional map move params
-     * @param {MapMoveCls} [options.mapMoveObj=mapMove] alternate map move object for use with multi map pages
-     */
-    constructor(url: any, options?: LayerBaseVectorGeoJsonOptions);
-    /**
-     * add feature collection
-     * @param {object} featureCollection - as geojson object
-     */
-    addFeatures(featureCollection: JSON): void;
-    /**
-     * trigger load features
-     * @protected
-     * @returns {boolean} if already loaded
-     */
-    _load(): boolean;
-    /**
-     * callback function on map move
-     * @param {object} d the json response
-     * @override
-     */
-    mapMoveCallback(d: any): void;
-}
-export default LayerBaseVectorGeoJson;
diff --git a/lib-ts/layers/LayerBaseVectorGeoJson.js b/lib-ts/layers/LayerBaseVectorGeoJson.js
deleted file mode 100644
index 539a743955a42b66f8c4de744a4c03e9b347c12c..0000000000000000000000000000000000000000
--- a/lib-ts/layers/LayerBaseVectorGeoJson.js
+++ /dev/null
@@ -1,101 +0,0 @@
-/**
- * Created by gavorhes on 11/2/2015.
- */
-"use strict";
-var __extends = (this && this.__extends) || function (d, b) {
-    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
-    function __() { this.constructor = d; }
-    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-};
-var LayerBaseVector_1 = require('./LayerBaseVector');
-var provide_1 = require('../util/provide');
-var custom_ol_1 = require('custom-ol');
-var nm = provide_1.default('layers');
-var $ = require('jquery');
-/**
- * The Vector GeoJson Layer
- * @augments LayerBaseVector
- */
-var LayerBaseVectorGeoJson = (function (_super) {
-    __extends(LayerBaseVectorGeoJson, _super);
-    /**
-     * @param {string|undefined|null} url - resource url, set to '' to make blank layer
-     * @param {object} options - config
-     * @param {string} [options.id] - layer id
-     * @param {string} [options.name=Unnamed Layer] - layer name
-     * @param {number} [options.opacity=1] - opacity
-     * @param {boolean} [options.visible=true] - default visible
-     * @param {number} [options.minZoom=undefined] - min zoom level, 0 - 28
-     * @param {number} [options.maxZoom=undefined] - max zoom level, 0 - 28
-     * @param {object} [options.params={}] the get parameters to include to retrieve the layer
-     * @param {number} [options.zIndex=0] the z index for the layer
-     * @param {function} [options.loadCallback] function to call on load, context this is the layer object
-     * @param {boolean} [options.legendCollapse=false] if the legend item should be initially collapsed
-     * @param {boolean} [options.legendCheckbox=true] if the legend item should have a checkbox for visibility
-     * @param {boolean} [options.legendContent] additional content to add to the legend
-     *
-     * @param {boolean} [options.autoLoad=false] if the layer should auto load if not visible
-     * @param {object} [options.style=undefined] the layer style, use openlayers default style if not defined
-     * @param {boolean} [options.onDemand=false] if the layer should be loaded by extent on map move
-     * @param {number} [options.onDemandDelay=300] delay before the map move callback should be called
-     *
-     * @param {object} [options.transform={}] SR transform, set as false for no transform
-     * @param {string} options.transform.dataProjection=EPSG:4326 the data CRS
-     * @param {string} options.transform.featureProjection=EPSG:3857 the feature/map CRS
-     * @param {mapMoveMakeGetParams} [options.mapMoveMakeGetParams=function(lyr, extent, zoomLevel){}] function to create additional map move params
-     * @param {MapMoveCls} [options.mapMoveObj=mapMove] alternate map move object for use with multi map pages
-     */
-    function LayerBaseVectorGeoJson(url, options) {
-        url = typeof url == 'string' ? url : '';
-        _super.call(this, url, options);
-        this._geoJsonFormat = new custom_ol_1.ol.format.GeoJSON();
-        this._transform = options.transform || { dataProjection: "EPSG:4326", featureProjection: "EPSG:3857" };
-        if (this.autoLoad || this.visible) {
-            this._load();
-        }
-    }
-    /**
-     * add feature collection
-     * @param {object} featureCollection - as geojson object
-     */
-    LayerBaseVectorGeoJson.prototype.addFeatures = function (featureCollection) {
-        if (this._transform.dataProjection == 'EPSG:3857' && this._transform.featureProjection == 'EPSG:3857') {
-            this._source.addFeatures(this._geoJsonFormat.readFeatures(featureCollection));
-        }
-        else {
-            this._source.addFeatures(this._geoJsonFormat.readFeatures(featureCollection, this._transform));
-        }
-    };
-    /**
-     * trigger load features
-     * @protected
-     * @returns {boolean} if already loaded
-     */
-    LayerBaseVectorGeoJson.prototype._load = function () {
-        var _this = this;
-        if (_super.prototype._load.call(this)) {
-            return true;
-        }
-        $.get(this._url, this._params, function (d) {
-            _this.addFeatures(d);
-            _this.loadCallback(_this);
-        }, 'json').fail(function () {
-            this._loaded = false;
-        });
-        return false;
-    };
-    /**
-     * callback function on map move
-     * @param {object} d the json response
-     * @override
-     */
-    LayerBaseVectorGeoJson.prototype.mapMoveCallback = function (d) {
-        _super.prototype.mapMoveCallback.call(this, d);
-        this._source.addFeatures(this._geoJsonFormat.readFeatures(d, this._transform));
-    };
-    return LayerBaseVectorGeoJson;
-}(LayerBaseVector_1.LayerBaseVector));
-nm.LayerBaseVectorGeoJson = LayerBaseVectorGeoJson;
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.default = LayerBaseVectorGeoJson;
-//# sourceMappingURL=LayerBaseVectorGeoJson.js.map
\ No newline at end of file
diff --git a/lib-ts/layers/LayerBaseVectorGeoJson.js.map b/lib-ts/layers/LayerBaseVectorGeoJson.js.map
deleted file mode 100644
index cf60309025598d2dd2c82d9c75848738162f3094..0000000000000000000000000000000000000000
--- a/lib-ts/layers/LayerBaseVectorGeoJson.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"LayerBaseVectorGeoJson.js","sourceRoot":"","sources":["../../src-ts/layers/LayerBaseVectorGeoJson.ts"],"names":[],"mappings":"AAAA;;GAEG;;;;;;;AAEH,gCAAsD,mBAAmB,CAAC,CAAA;AAC1E,wBAAoB,iBAAiB,CAAC,CAAA;AACtC,0BAAiB,WAAW,CAAC,CAAA;AAE7B,IAAI,EAAE,GAAG,iBAAO,CAAC,QAAQ,CAAC,CAAC;AAC3B,IAAM,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AAY5B;;;GAGG;AACH;IAAqC,0CAAe;IAIhD;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACH,gCAAY,GAAG,EAAE,OAAuC;QACpD,GAAG,GAAG,OAAO,GAAG,IAAI,QAAQ,GAAG,GAAG,GAAG,EAAE,CAAC;QACxC,kBAAM,GAAG,EAAE,OAAO,CAAC,CAAC;QAEpB,IAAI,CAAC,cAAc,GAAG,IAAI,cAAE,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC;QAE9C,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,SAAS,IAAI,EAAC,cAAc,EAAE,WAAW,EAAE,iBAAiB,EAAE,WAAW,EAAC,CAAC;QAErG,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;YAChC,IAA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AAC,CAAC;IAC7F,CAAC;IACL,6BAAC;AAAD,CAAC,AA1FD,CAAqC,iCAAe,GA0FnD;AAED,EAAE,CAAC,sBAAsB,GAAG,sBAAsB,CAAC;AACnD;kBAAe,sBAAsB,CAAC"}
\ No newline at end of file
diff --git a/lib-ts/layers/LayerEsriMapServer.d.ts b/lib-ts/layers/LayerEsriMapServer.d.ts
deleted file mode 100644
index 3bfec65c23776380d4b6133c3260d42679859c95..0000000000000000000000000000000000000000
--- a/lib-ts/layers/LayerEsriMapServer.d.ts
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- * Created by gavorhes on 12/7/2015.
- */
-import { LayerBase, LayerBaseOptions } from './LayerBase';
-import { ol } from 'custom-ol';
-export interface LayerEsriMapServerOptions extends LayerBaseOptions {
-    addPopup?: boolean;
-    showLayers?: Array<number>;
-    useEsriStyle?: boolean;
-}
-/**
- * esri mapserver layer
- * @augments LayerBase
- */
-export declare class LayerEsriMapServer extends LayerBase {
-    _esriFormat: ol.format.EsriJSON;
-    _popupRequest: JQueryXHR;
-    /**
-     * The base layer for all others
-     * @param {string} url - resource url
-     * @param {object} [options] - config
-     * @param {string} [options.id] - layer id
-     * @param {string} [options.name=Unnamed Layer] - layer name
-     * @param {number} [options.opacity=1] - opacity
-     * @param {boolean} [options.visible=true] - default visible
-     * @param {number} [options.minZoom=undefined] - min zoom level, 0 - 28
-     * @param {number} [options.maxZoom=undefined] - max zoom level, 0 - 28
-     * @param {object} [options.params={}] the get parameters to include to retrieve the layer
-     * @param {number} [options.zIndex=0] the z index for the layer
-     * @param {function} [options.loadCallback] function to call on load, context this is the layer object
-     * @param {boolean} [options.legendCollapse=false] if the legend item should be initially collapsed
-     * @param {boolean} [options.legendCheckbox=true] if the legend item should have a checkbox for visibility
-     * @param {boolean} [options.legendContent] additional content to add to the legend
-     * @param {boolean} [options.addPopup=false] if a popup should be added
-     * @param {undefined|Array<number>} [options.showLayers=undefined] if a popup should be added
-     */
-    constructor(url: any, options?: LayerEsriMapServerOptions);
-    /**
-     * add additional content to the legend
-     * @param {string} [additionalContent=''] additional content for legend
-     */
-    addLegendContent(additionalContent?: string): void;
-    getPopupInfo(queryParams: any): void;
-    /**
-     *
-     * @returns {ol.source.TileArcGISRest} the vector source
-     */
-    source: ol.source.TileArcGISRest;
-    /**
-     *
-     * @returns the ol layer
-     */
-    olLayer: ol.layer.Tile;
-}
-export default LayerEsriMapServer;
diff --git a/lib-ts/layers/LayerEsriMapServer.js b/lib-ts/layers/LayerEsriMapServer.js
deleted file mode 100644
index bc5fec586dd3c16684c2bfa317cf79f11c672bc4..0000000000000000000000000000000000000000
--- a/lib-ts/layers/LayerEsriMapServer.js
+++ /dev/null
@@ -1,146 +0,0 @@
-"use strict";
-var __extends = (this && this.__extends) || function (d, b) {
-    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
-    function __() { this.constructor = d; }
-    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-};
-/**
- * Created by gavorhes on 12/7/2015.
- */
-var LayerBase_1 = require('./LayerBase');
-var esriToOl = require('../olHelpers/esriToOlStyle');
-var mapPopup_1 = require('../olHelpers/mapPopup');
-var provide_1 = require('../util/provide');
-var custom_ol_1 = require('custom-ol');
-var nm = provide_1.default('layers');
-var $ = require('jquery');
-/**
- * esri mapserver layer
- * @augments LayerBase
- */
-var LayerEsriMapServer = (function (_super) {
-    __extends(LayerEsriMapServer, _super);
-    /**
-     * The base layer for all others
-     * @param {string} url - resource url
-     * @param {object} [options] - config
-     * @param {string} [options.id] - layer id
-     * @param {string} [options.name=Unnamed Layer] - layer name
-     * @param {number} [options.opacity=1] - opacity
-     * @param {boolean} [options.visible=true] - default visible
-     * @param {number} [options.minZoom=undefined] - min zoom level, 0 - 28
-     * @param {number} [options.maxZoom=undefined] - max zoom level, 0 - 28
-     * @param {object} [options.params={}] the get parameters to include to retrieve the layer
-     * @param {number} [options.zIndex=0] the z index for the layer
-     * @param {function} [options.loadCallback] function to call on load, context this is the layer object
-     * @param {boolean} [options.legendCollapse=false] if the legend item should be initially collapsed
-     * @param {boolean} [options.legendCheckbox=true] if the legend item should have a checkbox for visibility
-     * @param {boolean} [options.legendContent] additional content to add to the legend
-     * @param {boolean} [options.addPopup=false] if a popup should be added
-     * @param {undefined|Array<number>} [options.showLayers=undefined] if a popup should be added
-     */
-    function LayerEsriMapServer(url, options) {
-        _super.call(this, url, options);
-        this._source = new custom_ol_1.ol.source.TileArcGISRest({
-            url: this.url == '' ? undefined : this.url,
-            params: typeof options.showLayers == 'undefined' ? undefined : { layers: 'show:' + options.showLayers.join(',') }
-        });
-        this._olLayer = new custom_ol_1.ol.layer.Tile({
-            source: this._source,
-            visible: this.visible,
-            opacity: this.opacity,
-            minResolution: this._minResolution,
-            maxResolution: this._maxResolution,
-            zIndex: this._zIndex
-        });
-        options.addPopup = typeof options.addPopup == 'boolean' ? options.addPopup : false;
-        this._esriFormat = new custom_ol_1.ol.format.EsriJSON();
-        this._popupRequest = null;
-        this.addLegendContent();
-        if (options.addPopup) {
-            mapPopup_1.default.addMapServicePopup(this);
-        }
-    }
-    /**
-     * add additional content to the legend
-     * @param {string} [additionalContent=''] additional content for legend
-     */
-    LayerEsriMapServer.prototype.addLegendContent = function (additionalContent) {
-        var urlCopy = this.url;
-        if (urlCopy[urlCopy.length - 1] !== '/') {
-            urlCopy += '/';
-        }
-        urlCopy += 'legend?f=pjson&callback=?';
-        var _this = this;
-        var superAddLegend = _super.prototype.addLegendContent;
-        $.get(urlCopy, {}, function (d) {
-            var newHtml = esriToOl.makeMapServiceLegend(d);
-            superAddLegend.call(_this, newHtml);
-        }, 'json');
-    };
-    LayerEsriMapServer.prototype.getPopupInfo = function (queryParams) {
-        if (!this.visible) {
-            return;
-        }
-        var urlCopy = this.url;
-        if (urlCopy[urlCopy.length - 1] != '/') {
-            urlCopy += '/';
-        }
-        urlCopy += 'identify?callback=?';
-        var _this = this;
-        if (this._popupRequest != null) {
-            this._popupRequest.abort();
-        }
-        this._popupRequest = $.get(urlCopy, queryParams, function (d) {
-            for (var _i = 0, _a = d['results']; _i < _a.length; _i++) {
-                var r = _a[_i];
-                var popupHtml = '<table class="esri-popup-table">';
-                for (var a in r['attributes']) {
-                    if (r['attributes'].hasOwnProperty(a)) {
-                        var attrVal = r['attributes'][a];
-                        if (attrVal == null || attrVal.toString().toLowerCase() == 'null') {
-                            continue;
-                        }
-                        var attr = a;
-                        if (attr.length > 14) {
-                            attr = attr.slice(0, 11) + '...';
-                        }
-                        popupHtml += "<tr><td>" + attr + "</td><td>" + attrVal + "</td></tr>";
-                    }
-                }
-                popupHtml += '</table>';
-                mapPopup_1.default.addMapServicePopupContent(_this._esriFormat.readFeature(r), _this, popupHtml, r['layerName']);
-            }
-        }, 'json').always(function () {
-            _this._popupRequest = null;
-        });
-    };
-    Object.defineProperty(LayerEsriMapServer.prototype, "source", {
-        /**
-         *
-         * @returns {ol.source.TileArcGISRest} the vector source
-         */
-        get: function () {
-            return _super.prototype.getSource.call(this);
-        },
-        enumerable: true,
-        configurable: true
-    });
-    Object.defineProperty(LayerEsriMapServer.prototype, "olLayer", {
-        /**
-         *
-         * @returns the ol layer
-         */
-        get: function () {
-            return _super.prototype.getOlLayer.call(this);
-        },
-        enumerable: true,
-        configurable: true
-    });
-    return LayerEsriMapServer;
-}(LayerBase_1.LayerBase));
-exports.LayerEsriMapServer = LayerEsriMapServer;
-nm.LayerEsriMapServer = LayerEsriMapServer;
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.default = LayerEsriMapServer;
-//# sourceMappingURL=LayerEsriMapServer.js.map
\ No newline at end of file
diff --git a/lib-ts/layers/LayerEsriMapServer.js.map b/lib-ts/layers/LayerEsriMapServer.js.map
deleted file mode 100644
index f6a38a2f0fdcdbd3b0e30e01bf93a7b253f7d3b5..0000000000000000000000000000000000000000
--- a/lib-ts/layers/LayerEsriMapServer.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"LayerEsriMapServer.js","sourceRoot":"","sources":["../../src-ts/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B,CAAC,KAAK,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC;aAC1G;QACL,CAAC,EAAE,MAAM,CAAC,CAAC,MAAM,CAAC;YACd,KAAK,CAAC,aAAa,GAAG,IAAI,CAAC;QAC/B,CAAC,CAAC,CAAC;IACP,CAAC;IAMD,sBAAI,sCAAM;QAJV;;;WAGG;aACH;YACI,MAAM,CAAC,gBAAK,CAAC,SAAS,WAA8B,CAAC;QACzD,CAAC;;;OAAA;IAMD,sBAAI,uCAAO;QAJX;;;WAGG;aACH;YACI,MAAM,CAAC,gBAAK,CAAC,UAAU,WAAmB,CAAC;QAC/C,CAAC;;;OAAA;IACL,yBAAC;AAAD,CAAC,AA7ID,CAAwC,qBAAS,GA6IhD;AA7IY,0BAAkB,qBA6I9B,CAAA;AACD,EAAE,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;AAC3C;kBAAe,kBAAkB,CAAC"}
\ No newline at end of file
diff --git a/lib-ts/layers/LayerItsInventory.d.ts b/lib-ts/layers/LayerItsInventory.d.ts
deleted file mode 100644
index 571051f63d55ff03a1aac6a42278f5c20f4a1af1..0000000000000000000000000000000000000000
--- a/lib-ts/layers/LayerItsInventory.d.ts
+++ /dev/null
@@ -1,67 +0,0 @@
-/**
- * Created by gavorhes on 12/8/2015.
- */
-import LayerBaseVectorGeoJson from './LayerBaseVectorGeoJson';
-/**
- * Its Layer class
- * @augments LayerBaseVectorGeoJson
- */
-declare class LayerItsInventory extends LayerBaseVectorGeoJson {
-    /**
-     * ITS device layer, types available at http://transportal.cee.wisc.edu/its/inventory/
-     * @param {object} options - config
-     * @param {string} [options.id] - layer id
-     * @param {string} [options.name=Unnamed Layer] - layer name
-     * @param {number} [options.opacity=1] - opacity
-     * @param {boolean} [options.visible=true] - default visible
-     * @param {number} [options.minZoom=undefined] - min zoom level, 0 - 28
-     * @param {number} [options.maxZoom=undefined] - max zoom level, 0 - 28
-     * @param {object} [options.params={}] the get parameters to include to retrieve the layer
-     * @param {number} [options.zIndex=0] the z index for the layer
-     * @param {function} [options.loadCallback] function to call on load, context this is the layer object
-     * @param {boolean} [options.legendCollapse=false] if the legend item should be initially collapsed
-     * @param {boolean} [options.legendCheckbox=true] if the legend item should have a checkbox for visibility
-     * @param {boolean} [options.legendContent] additional content to add to the legend
-     *
-     * @param {boolean} [options.autoLoad=false] if the layer should auto load if not visible
-     * @param {object|*} [options.style=undefined] the layer style, use openlayers default style if not defined
-     * @param {boolean} [options.onDemand=false] if the layer should be loaded by extent on map move
-     * @param {number} [options.onDemandDelay=300] delay before the map move callback should be called
-     * @param {MapMoveCls} [options.mapMoveObj=mapMove] alternate map move object for use with multi map pages
-     *
-     * @param {string} options.itsType the ITS device type, use the url flag at http://transportal.cee.wisc.edu/its/inventory/
-     * @param {boolean} [options.addPopup=true] if the popup should be added automatically
-     *
-     * @param {string} [options.itsIcon=undefined] the ITS device type icon image see http://transportal.cee.wisc.edu/its/inventory/icons/
-     *
-     * @param {object} [options.itsLineStyle=undefined] A single line style
-     * @param {string} options.itsLineStyle.color the line color as rgb or hex
-     * @param {number} [options.itsLineStyle.width=5] the line width
-     *
-     * @param {object} [options.itsIconConfig=undefined] The icon subtype configuration
-     * @param {string} options.itsIconConfig.prop The property used to define icon attribute symbolization
-     * @param {string} options.itsIconConfig.defaultName The default name to be used if no other match is found
-     * @param {string} options.itsIconConfig.defaultIcon The default icon to be used for no other matches
-     * @param {object} [options.itsIconConfig.iconArray=[]] an array, items with format [property, name, img]
-     *
-     * @param {object} [options.itsLineConfig=undefined] The property used to define icon attribute symbolization
-     * @param {string} options.itsLineConfig.prop The property used to define icon attribute symbolization
-     * @param {string} [options.itsLineConfig.defaultName=Other] The default name to be used if no other match is found
-     * @param {string} [options.itsLineConfig.defaultColor=red] The default line color to be used for no other matches
-     * @param {number} [options.itsLineConfig.defaultWidth] The default line width to be used for no other matches
-     * @param {object} [options.itsLineConfig.lineArray=[]] an array, items with format [property, name, color, optional width = 5]
-     */
-    constructor(options: any);
-    /**
-     * callback to generate the parameters passed in the get request
-     * @callback makeGetParams
-     * @param {object} extent - extent object
-     * @param {number} extent.minX - minX
-     * @param {number} extent.minY - minY
-     * @param {number} extent.maxX - maxX
-     * @param {number} extent.maxY - maxY
-     * @param {number} zoomLevel - zoom level
-     */
-    mapMoveMakeGetParams(extent: any, zoomLevel: any): void;
-}
-export default LayerItsInventory;
diff --git a/lib-ts/layers/LayerItsInventory.js b/lib-ts/layers/LayerItsInventory.js
deleted file mode 100644
index c2748565325466b5f0dc762b22fc636fcc9d8ff0..0000000000000000000000000000000000000000
--- a/lib-ts/layers/LayerItsInventory.js
+++ /dev/null
@@ -1,305 +0,0 @@
-/**
- * Created by gavorhes on 12/8/2015.
- */
-"use strict";
-var __extends = (this && this.__extends) || function (d, b) {
-    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
-    function __() { this.constructor = d; }
-    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-};
-var LayerBaseVectorGeoJson_1 = require('./LayerBaseVectorGeoJson');
-var mapPopup_1 = require('../olHelpers/mapPopup');
-var provide_1 = require('../util/provide');
-var custom_ol_1 = require('custom-ol');
-var nm = provide_1.default('layers');
-var $ = require('jquery');
-function checkStyleNumber(itsIcon, itsLineStyle, itsIconConfig, itsLineConfig) {
-    "use strict";
-    //make sure one and only one configuration is defined;
-    var configCount = 0;
-    if (typeof itsIcon == 'string') {
-        configCount++;
-    }
-    if (typeof itsLineStyle == 'object') {
-        itsLineStyle.width = typeof itsLineStyle.width == 'number' ? itsLineStyle.width : 5;
-        itsLineStyle.color = typeof itsLineStyle.color == 'string' ? itsLineStyle.color : 'red';
-        configCount++;
-    }
-    if (typeof itsIconConfig == 'object') {
-        itsIconConfig.defaultName = itsIconConfig.defaultName || 'Other';
-        if (typeof itsIconConfig.iconArray == 'undefined') {
-            itsIconConfig.iconArray = [];
-        }
-        configCount++;
-    }
-    if (typeof itsLineConfig == 'object') {
-        itsLineConfig.defaultName = itsLineConfig.defaultName || 'Other';
-        itsLineConfig.defaultWidth = itsLineConfig.defaultWidth || 5;
-        itsLineConfig.defaultColor = itsLineConfig.defaultColor || 'red';
-        if (typeof itsLineConfig.lineArray == 'undefined') {
-            itsLineConfig.lineArray = [];
-        }
-        // set the width if not defined
-        for (var i = 0; i < itsLineConfig.lineArray.length; i++) {
-            if (itsLineConfig.lineArray[i].length == 3) {
-                itsLineConfig.lineArray[i].push(5);
-            }
-        }
-        configCount++;
-    }
-    if (configCount > 1) {
-        throw 'Only one style config can be defined';
-    }
-}
-/**
- *
- * @param {string} [itsIcon=undefined] the ITS device type icon image see http://transportal.cee.wisc.edu/its/inventory/icons/
- *
- * @param {object} [itsLineStyle=undefined] A single line style
- * @param {string} itsLineStyle.color the line color as rgb or hex
- * @param {number} [itsLineStyle.width=5] the line width
- *
- * @param {object} [itsIconConfig=undefined] The icon subtype configuration
- * @param {string} itsIconConfig.prop The property used to define icon attribute symbolization
- * @param {string} itsIconConfig.defaultName The default name to be used if no other match is found
- * @param {string} itsIconConfig.defaultIcon The default icon to be used for no other matches
- * @param {object} [itsIconConfig.iconArray=[]] an array, items with format [property, name, img]
- *
- * @param {object} [itsLineConfig=undefined] The property used to define icon attribute symbolization
- * @param {string} itsLineConfig.prop The property used to define icon attribute symbolization
- * @param {string} [itsLineConfig.defaultName=Other] The default name to be used if no other match is found
- * @param {string} [itsLineConfig.defaultColor=red] The default line color to be used for no other matches
- * @param {number} [itsLineConfig.defaultWidth=5] The default line width to be used for no other matches
- * @param {object} [itsLineConfig.lineArray=[]] an array, items with format [property, name, color, optional width]
- * @returns {*} undefined, style, or style function
- */
-function defineStyle(itsIcon, itsLineStyle, itsIconConfig, itsLineConfig) {
-    "use strict";
-    checkStyleNumber(itsIcon, itsLineStyle, itsIconConfig, itsLineConfig);
-    var _iconUrlRoot = 'http://transportal.cee.wisc.edu/its/inventory/icons/';
-    if (itsIcon) {
-        return new custom_ol_1.ol.style.Style({
-            image: new custom_ol_1.ol.style.Icon({
-                src: _iconUrlRoot + itsIcon,
-                crossOrigin: 'anonymous'
-            })
-        });
-    }
-    else if (itsLineStyle) {
-        return new custom_ol_1.ol.style.Style({
-            stroke: new custom_ol_1.ol.style.Stroke({
-                color: itsLineStyle.color,
-                width: itsLineStyle.width
-            })
-        });
-    }
-    else if (itsIconConfig) {
-        return function (feature, resolution) {
-            var symbolProp = feature.getProperties()[itsIconConfig.prop];
-            var iconUrl = _iconUrlRoot + itsIconConfig.defaultIcon;
-            for (var i = 0; i < itsIconConfig.iconArray.length; i++) {
-                var thisProp = itsIconConfig.iconArray[i];
-                if (symbolProp.trim().toLocaleLowerCase() == thisProp[0].trim().toLocaleLowerCase()) {
-                    iconUrl = _iconUrlRoot + thisProp[2];
-                    break;
-                }
-            }
-            return [new custom_ol_1.ol.style.Style({
-                    image: new custom_ol_1.ol.style.Icon({
-                        src: iconUrl,
-                        crossOrigin: 'anonymous'
-                    })
-                })];
-        };
-    }
-    else if (itsLineConfig) {
-        return function (feature) {
-            var symbolProp = feature.getProperties()[itsLineConfig.prop];
-            var colr = itsLineConfig.defaultColor || 'red';
-            var width = itsLineConfig.defaultWidth || 5;
-            for (var i = 0; i < itsLineConfig.lineArray.length; i++) {
-                var thisProp = itsLineConfig.lineArray[i];
-                if (symbolProp.trim().toLocaleLowerCase() == thisProp[0].trim().toLocaleLowerCase()) {
-                    colr = thisProp[2];
-                    width = thisProp[3];
-                    break;
-                }
-            }
-            return [new custom_ol_1.ol.style.Style({
-                    stroke: new custom_ol_1.ol.style.Stroke({
-                        color: colr,
-                        width: width
-                    })
-                })];
-        };
-    }
-    else {
-        return undefined;
-    }
-}
-/**
- *
- * @param {string} [itsIcon=undefined] the ITS device type icon image see http://transportal.cee.wisc.edu/its/inventory/icons/
- *
- * @param {object} [itsLineStyle=undefined] A single line style
- * @param {string} itsLineStyle.color the line color as rgb or hex
- * @param {number} [itsLineStyle.width=5] the line width
- *
- * @param {object} [itsIconConfig=undefined] The icon subtype configuration
- * @param {string} itsIconConfig.prop The property used to define icon attribute symbolization
- * @param {string} itsIconConfig.defaultName The default name to be used if no other match is found
- * @param {string} itsIconConfig.defaultIcon The default icon to be used for no other matches
- * @param {object} [itsIconConfig.iconArray=[]] an array, items with format [property, name, img]
- *
- * @param {object} [itsLineConfig=undefined] The property used to define icon attribute symbolization
- * @param {string} itsLineConfig.prop The property used to define icon attribute symbolization
- * @param {string} [itsLineConfig.defaultName=Other] The default name to be used if no other match is found
- * @param {string} [itsLineConfig.defaultColor=red] The default line color to be used for no other matches
- * @param {number} [itsLineConfig.defaultWidth=5] The default line width to be used for no other matches
- * @param {object} [itsLineConfig.lineArray=[]] an array, items with format [property, name, color, optional width]
- * @returns {string} html to be added to the legend
- */
-function defineLegend(itsIcon, itsLineStyle, itsIconConfig, itsLineConfig) {
-    "use strict";
-    var iconHeight = 17;
-    checkStyleNumber(itsIcon, itsLineStyle, itsIconConfig, itsLineConfig);
-    var _iconUrlRoot = 'http://transportal.cee.wisc.edu/its/inventory/icons/';
-    if (itsIcon) {
-        return "<img src=\"" + (_iconUrlRoot + itsIcon) + "\" class=\"legend-layer-icon\" height=\"" + iconHeight + "\">";
-    }
-    else if (itsLineStyle) {
-        return "<hr style=\"height: " + itsLineStyle.width + "px; background-color: " + itsLineStyle.color + "\">";
-    }
-    else if (itsIconConfig) {
-        var outHtml = '';
-        outHtml += '<ul>';
-        for (var _i = 0, _a = itsIconConfig.iconArray; _i < _a.length; _i++) {
-            var a = _a[_i];
-            outHtml += "<li><span class=\"legend-layer-subitem\">" + a[1] + "</span><img src=\"" + (_iconUrlRoot + a[2]) + "\" class=\"legend-layer-icon\" height=\"" + iconHeight + "\">";
-        }
-        outHtml += ("<li><span class=\"legend-layer-subitem\">" + itsIconConfig.defaultName + "</span>") +
-            ("<img src=\"" + (_iconUrlRoot + itsIconConfig.defaultIcon) + "\" class=\"legend-layer-icon\" height=\"" + iconHeight + "\"></li>");
-        outHtml += '</ul>';
-        return outHtml;
-    }
-    else if (itsLineConfig) {
-        var outHtml = '';
-        outHtml += '<ul>';
-        for (var _b = 0, _c = itsLineConfig.lineArray; _b < _c.length; _b++) {
-            var ls = _c[_b];
-            outHtml += ("<li><span class=\"legend-layer-subitem\">" + ls[1] + "</span>") +
-                ("<hr style=\"height: " + ls[3] + "px; background-color: " + ls[2] + "\">");
-        }
-        outHtml += ("<li><span class=\"legend-layer-subitem\">" + itsLineConfig.defaultName + "</span>") +
-            ("<hr style=\"height: " + itsLineConfig.defaultWidth + "px; background-color: " + itsLineConfig.defaultColor + "\"></li>");
-        outHtml += '</ul>';
-        return outHtml;
-    }
-    else {
-        return '';
-    }
-}
-/**
- * Its Layer class
- * @augments LayerBaseVectorGeoJson
- */
-var LayerItsInventory = (function (_super) {
-    __extends(LayerItsInventory, _super);
-    /**
-     * ITS device layer, types available at http://transportal.cee.wisc.edu/its/inventory/
-     * @param {object} options - config
-     * @param {string} [options.id] - layer id
-     * @param {string} [options.name=Unnamed Layer] - layer name
-     * @param {number} [options.opacity=1] - opacity
-     * @param {boolean} [options.visible=true] - default visible
-     * @param {number} [options.minZoom=undefined] - min zoom level, 0 - 28
-     * @param {number} [options.maxZoom=undefined] - max zoom level, 0 - 28
-     * @param {object} [options.params={}] the get parameters to include to retrieve the layer
-     * @param {number} [options.zIndex=0] the z index for the layer
-     * @param {function} [options.loadCallback] function to call on load, context this is the layer object
-     * @param {boolean} [options.legendCollapse=false] if the legend item should be initially collapsed
-     * @param {boolean} [options.legendCheckbox=true] if the legend item should have a checkbox for visibility
-     * @param {boolean} [options.legendContent] additional content to add to the legend
-     *
-     * @param {boolean} [options.autoLoad=false] if the layer should auto load if not visible
-     * @param {object|*} [options.style=undefined] the layer style, use openlayers default style if not defined
-     * @param {boolean} [options.onDemand=false] if the layer should be loaded by extent on map move
-     * @param {number} [options.onDemandDelay=300] delay before the map move callback should be called
-     * @param {MapMoveCls} [options.mapMoveObj=mapMove] alternate map move object for use with multi map pages
-     *
-     * @param {string} options.itsType the ITS device type, use the url flag at http://transportal.cee.wisc.edu/its/inventory/
-     * @param {boolean} [options.addPopup=true] if the popup should be added automatically
-     *
-     * @param {string} [options.itsIcon=undefined] the ITS device type icon image see http://transportal.cee.wisc.edu/its/inventory/icons/
-     *
-     * @param {object} [options.itsLineStyle=undefined] A single line style
-     * @param {string} options.itsLineStyle.color the line color as rgb or hex
-     * @param {number} [options.itsLineStyle.width=5] the line width
-     *
-     * @param {object} [options.itsIconConfig=undefined] The icon subtype configuration
-     * @param {string} options.itsIconConfig.prop The property used to define icon attribute symbolization
-     * @param {string} options.itsIconConfig.defaultName The default name to be used if no other match is found
-     * @param {string} options.itsIconConfig.defaultIcon The default icon to be used for no other matches
-     * @param {object} [options.itsIconConfig.iconArray=[]] an array, items with format [property, name, img]
-     *
-     * @param {object} [options.itsLineConfig=undefined] The property used to define icon attribute symbolization
-     * @param {string} options.itsLineConfig.prop The property used to define icon attribute symbolization
-     * @param {string} [options.itsLineConfig.defaultName=Other] The default name to be used if no other match is found
-     * @param {string} [options.itsLineConfig.defaultColor=red] The default line color to be used for no other matches
-     * @param {number} [options.itsLineConfig.defaultWidth] The default line width to be used for no other matches
-     * @param {object} [options.itsLineConfig.lineArray=[]] an array, items with format [property, name, color, optional width = 5]
-     */
-    function LayerItsInventory(options) {
-        if (typeof options.itsType !== 'string') {
-            throw 'its type must be defined';
-        }
-        var addToLegend = '';
-        // define a style with the helper function if it is not explicitly defined
-        if (typeof options.style == 'undefined') {
-            options.style = defineStyle(options.itsIcon, options.itsLineStyle, options.itsIconConfig, options.itsLineConfig);
-            addToLegend = defineLegend(options.itsIcon, options.itsLineStyle, options.itsIconConfig, options.itsLineConfig);
-        }
-        options.params = typeof options.params == 'object' ? options.params : {};
-        $.extend(options.params, { format: 'JSON', resource: options.itsType });
-        _super.call(this, 'http://transportal.cee.wisc.edu/its/inventory/', options);
-        //add any additional content to the legend
-        this.addLegendContent(addToLegend);
-        options.addPopup = typeof options.addPopup == 'boolean' ? options.addPopup : true;
-        if (options.addPopup) {
-            mapPopup_1.default.addVectorPopup(this, function (props) {
-                return ("<iframe src=\"http://transportal.cee.wisc.edu/its/inventory/?feature=" + props['featureGuid'] + "\" ") +
-                    "height=\"250\" width=\"350\"></iframe>";
-            });
-        }
-    }
-    /**
-     * callback to generate the parameters passed in the get request
-     * @callback makeGetParams
-     * @param {object} extent - extent object
-     * @param {number} extent.minX - minX
-     * @param {number} extent.minY - minY
-     * @param {number} extent.maxX - maxX
-     * @param {number} extent.maxY - maxY
-     * @param {number} zoomLevel - zoom level
-     */
-    LayerItsInventory.prototype.mapMoveMakeGetParams = function (extent, zoomLevel) {
-        _super.prototype.mapMoveMakeGetParams.call(this, extent, zoomLevel);
-        var lowerLeft = new custom_ol_1.ol.geom.Point([extent.minX, extent.minY]);
-        lowerLeft.transform(this.mapProj, this._projection4326);
-        var lowerLeftCoordinates = lowerLeft.getCoordinates();
-        var upperRight = new custom_ol_1.ol.geom.Point([extent.maxX, extent.maxY]);
-        upperRight.transform(this.mapProj, this._projection4326);
-        var upperRightCoordinates = upperRight.getCoordinates();
-        $.extend(this.mapMoveParams, {
-            L: lowerLeftCoordinates[0],
-            R: upperRightCoordinates[0],
-            B: lowerLeftCoordinates[1],
-            T: upperRightCoordinates[1]
-        });
-    };
-    return LayerItsInventory;
-}(LayerBaseVectorGeoJson_1.default));
-nm.LayerItsInventory = LayerItsInventory;
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.default = LayerItsInventory;
-//# sourceMappingURL=LayerItsInventory.js.map
\ No newline at end of file
diff --git a/lib-ts/layers/LayerItsInventory.js.map b/lib-ts/layers/LayerItsInventory.js.map
deleted file mode 100644
index 546df1e9bfeb89ec40279097689cd5d4078948a3..0000000000000000000000000000000000000000
--- a/lib-ts/layers/LayerItsInventory.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"LayerItsInventory.js","sourceRoot":"","sources":["../../src-ts/layers/LayerItsInventory.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,CAAC,eAAe,CAAC,CAAC;QACzD,IAAI,qBAAqB,GAAG,UAAU,CAAC,cAAc,EAAE,CAAC;QAExD,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,aAAa,EACvB;YACI,CAAC,EAAE,oBAAoB,CAAC,CAAC,CAAC;YAC1B,CAAC,EAAE,qBAAqB,CAAC,CAAC,CAAC;YAC3B,CAAC,EAAE,oBAAoB,CAAC,CAAC,CAAC;YAC1B,CAAC,EAAE,qBAAqB,CAAC,CAAC,CAAC;SAC9B,CAAC,CAAC;IACX,CAAC;IACL,wBAAC;AAAD,CAAC,AA5GD,CAAgC,gCAAsB,GA4GrD;AAED,EAAE,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;AACzC;kBAAe,iBAAiB,CAAC"}
\ No newline at end of file
diff --git a/lib-ts/olHelpers/esriToOlStyle.d.ts b/lib-ts/olHelpers/esriToOlStyle.d.ts
deleted file mode 100644
index 5de40e17fcc0e4e3d954088ea1417bd1b213328e..0000000000000000000000000000000000000000
--- a/lib-ts/olHelpers/esriToOlStyle.d.ts
+++ /dev/null
@@ -1,47 +0,0 @@
-import { ol } from 'custom-ol';
-export interface EsriResponse {
-    drawingInfo: {
-        renderer: EsriRenderer;
-    };
-    geometryType: string;
-}
-export interface EsriRenderer {
-    type: string;
-    symbol: EsriSymbol;
-    uniqueValueInfos: Array<{
-        label: string;
-        value: any;
-        symbol: EsriSymbol;
-    }>;
-}
-export interface EsriSymbol {
-    size: number;
-    type: string;
-    outline: {
-        color: string;
-        width: number;
-    };
-    color: string;
-    width: number;
-}
-/**
- * style and legend object
- * @typedef {object} styleAndLegend
- * @property {styleFunc} style - style function
- * @property {string} legend - legend content
- */
-/**
- *
- * @param {object} esriResponse - layer info
- * @returns {styleAndLegend} style and legend object
- */
-export declare function makeFeatureServiceLegendAndSymbol(esriResponse: EsriResponse): {
-    style: ol.style.Style | ol.style.Style[] | ol.style.StyleFunction;
-    legend: string;
-};
-/**
- * make map service legent
- * @param {object} esriResponse - layer info
- * @returns {string} legend content
- */
-export declare function makeMapServiceLegend(esriResponse: any): string;
diff --git a/lib-ts/olHelpers/esriToOlStyle.js b/lib-ts/olHelpers/esriToOlStyle.js
deleted file mode 100644
index 46ab613b5c213d43d0750f6c5d3167235bfca3d1..0000000000000000000000000000000000000000
--- a/lib-ts/olHelpers/esriToOlStyle.js
+++ /dev/null
@@ -1,357 +0,0 @@
-"use strict";
-var __extends = (this && this.__extends) || function (d, b) {
-    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
-    function __() { this.constructor = d; }
-    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-};
-/**
- * Created by gavorhes on 1/4/2016.
- */
-var provide_1 = require('../util/provide');
-var custom_ol_1 = require('custom-ol');
-var nm = provide_1.default('olHelpers.esriToOlStyle');
-/**
- * This callback is displayed as part of the Requester class.
- * @callback styleFunc
- * @param {ol.Feature} feat - openlayers feature
- * @param {number} resolution - map resolution
- */
-/**
- *
- * @param {Array<number>} colorArray - input color array
- * @param {number} opacity - the opacity 0 to 1
- * @returns {string} rgba string
- * @private
- */
-function _colorArrayToRgba(colorArray, opacity) {
-    "use strict";
-    return "rgba(" + colorArray[0] + "," + colorArray[1] + "," + colorArray[2] + "," + opacity + ")";
-}
-/**
- * escape html charcters
- * @param {string} str - input string
- * @returns {string} escaped string
- */
-function htmlEscape(str) {
-    return String(str)
-        .replace(/&/g, '&amp;')
-        .replace(/"/g, '&quot;')
-        .replace(/'/g, '&#39;')
-        .replace(/</g, '&lt;')
-        .replace(/>/g, '&gt;');
-}
-nm.htmlEscape = htmlEscape;
-var CommonSymbol = (function () {
-    /**
-     *
-     * @param symbolObj
-     * @param {number} opacity
-     */
-    function CommonSymbol(symbolObj, opacity) {
-        this.symbolObj = symbolObj;
-        this.opacity = opacity;
-        this.olStyle = undefined;
-        this.legendHtml = '';
-    }
-    return CommonSymbol;
-}());
-var PointSymbol = (function (_super) {
-    __extends(PointSymbol, _super);
-    function PointSymbol(symbolObj, opacity) {
-        _super.call(this, symbolObj, opacity);
-        switch (this.symbolObj.type) {
-            case 'esriSMS':
-                var innerColor = _colorArrayToRgba(this.symbolObj.color, this.opacity);
-                var outerColor = _colorArrayToRgba(this.symbolObj.outline.color, this.opacity);
-                var outlineWidth = this.symbolObj.outline.width;
-                var radius = this.symbolObj.size;
-                this.olStyle = new custom_ol_1.ol.style.Style({
-                    image: new custom_ol_1.ol.style.Circle({
-                        radius: radius,
-                        fill: new custom_ol_1.ol.style.Fill({
-                            color: innerColor
-                        }),
-                        stroke: new custom_ol_1.ol.style.Stroke({ color: outerColor, width: outlineWidth })
-                    })
-                });
-                this.legendHtml = "<span class=\"legend-layer-icon\" style=\"color: " + innerColor + "\">&#9679;</span>";
-                break;
-            case 'esriPMS':
-                this.olStyle = new custom_ol_1.ol.style.Style({
-                    image: new custom_ol_1.ol.style.Icon({ src: "data:image/png;base64," + this.symbolObj['imageData'] })
-                });
-                this.legendHtml = "<img class=\"legend-layer-icon\" height=\"17\" src=\"data:image/png;base64," + this.symbolObj['imageData'] + "\">";
-                break;
-            default:
-                console.log(this.symbolObj);
-                alert('Point symbol does not handle symbol type: ' + this.symbolObj['type']);
-        }
-    }
-    return PointSymbol;
-}(CommonSymbol));
-var LineSymbol = (function (_super) {
-    __extends(LineSymbol, _super);
-    function LineSymbol(symbolObj, opacity) {
-        _super.call(this, symbolObj, opacity);
-        switch (this.symbolObj.type) {
-            case 'esriSLS':
-                var innerColor = _colorArrayToRgba(this.symbolObj.color, this.opacity);
-                var lineWidth = this.symbolObj.width;
-                this.olStyle = new custom_ol_1.ol.style.Style({
-                    stroke: new custom_ol_1.ol.style.Stroke({
-                        color: innerColor,
-                        //lineDash: [4],
-                        width: lineWidth
-                    })
-                });
-                this.legendHtml = "<span class=\"legend-layer-icon\" ";
-                this.legendHtml += "style=\"";
-                this.legendHtml += "background-color: " + innerColor + ";";
-                this.legendHtml += "width: 40px;";
-                this.legendHtml += "height: 4px;";
-                this.legendHtml += "position: relative;";
-                this.legendHtml += "display: inline-block;";
-                this.legendHtml += "top: -1px;";
-                this.legendHtml += "\"></span>";
-                break;
-            default:
-                console.log(this.symbolObj);
-                alert('Line symbol does not handle symbol type: ' + this.symbolObj['type']);
-        }
-    }
-    return LineSymbol;
-}(CommonSymbol));
-var PolygonSymbol = (function (_super) {
-    __extends(PolygonSymbol, _super);
-    function PolygonSymbol(symbolObj, opacity) {
-        _super.call(this, symbolObj, opacity);
-        switch (this.symbolObj['type']) {
-            case 'esriSFS':
-                var innerColor = _colorArrayToRgba(this.symbolObj.color, this.opacity);
-                var outerColor = _colorArrayToRgba(this.symbolObj.outline.color, this.opacity);
-                var outlineWidth = this.symbolObj.outline.width;
-                this.olStyle = new custom_ol_1.ol.style.Style({
-                    stroke: new custom_ol_1.ol.style.Stroke({
-                        color: outerColor,
-                        //lineDash: [4],
-                        width: outlineWidth
-                    }),
-                    fill: new custom_ol_1.ol.style.Fill({
-                        color: innerColor
-                    })
-                });
-                this.legendHtml = "<span class=\"legend-layer-icon\" ";
-                this.legendHtml += "style=\"";
-                this.legendHtml += "background-color: " + innerColor + ";";
-                this.legendHtml += "border: solid " + outerColor + " 1px;";
-                this.legendHtml += "width: 40px;";
-                this.legendHtml += "height: 9px;";
-                this.legendHtml += "position: relative;";
-                this.legendHtml += "display: inline-block;";
-                this.legendHtml += "top: 2px;";
-                this.legendHtml += "\"></span>";
-                break;
-            default:
-                console.log(this.symbolObj);
-                alert('Polygon symbol does handle symbol type: ' + this.symbolObj['type']);
-        }
-    }
-    return PolygonSymbol;
-}(CommonSymbol));
-var SymbolGenerator = (function () {
-    function SymbolGenerator(esriResponse) {
-        this.opacity = (100 - (esriResponse['drawingInfo']['transparency'] || 0)) / 100;
-        this.renderer = esriResponse.drawingInfo.renderer;
-        this.olStyle = undefined;
-        this.legendHtml = '';
-    }
-    return SymbolGenerator;
-}());
-var SingleSymbol = (function (_super) {
-    __extends(SingleSymbol, _super);
-    /**
-     *
-     * @param {object} esriResponse - layer info
-     * @param {Constructor|*} SymbolClass - the symbol class to use
-     */
-    function SingleSymbol(esriResponse, SymbolClass) {
-        _super.call(this, esriResponse);
-        this.symbol = this.renderer.symbol;
-        var symbolObj = new SymbolClass(this.symbol, this.opacity);
-        this.olStyle = symbolObj.olStyle;
-        this.legendHtml = symbolObj.legendHtml;
-    }
-    return SingleSymbol;
-}(SymbolGenerator));
-var UniqueValueSymbol = (function (_super) {
-    __extends(UniqueValueSymbol, _super);
-    /**
-     *
-     * @param {object} esriResponse - layer info
-     * @param {Constructor|*} SymbolClass - the Symbol class definition
-     */
-    function UniqueValueSymbol(esriResponse, SymbolClass) {
-        var _this = this;
-        _super.call(this, esriResponse);
-        this.uniqueValueInfos = this.renderer['uniqueValueInfos'];
-        this.propertyName = this.renderer['field1'];
-        this.defaultSymbol = this.renderer['defaultSymbol'];
-        if (this.defaultSymbol) {
-            var symbolObj = new SymbolClass(this.defaultSymbol, this.opacity);
-            this.defaultStyle = symbolObj.olStyle;
-            this.defaultLabelHtml = ("<span class=\"legend-layer-subitem\">" + htmlEscape(this.renderer['defaultLabel']) + "</span>") + symbolObj.legendHtml;
-        }
-        else {
-            this.defaultStyle = undefined;
-            this.defaultLabelHtml = 'other';
-        }
-        this.valueArray = [];
-        this.labelArray = [];
-        this.legendArray = [];
-        this.propertyStyleLookup = {};
-        for (var _i = 0, _a = this.uniqueValueInfos; _i < _a.length; _i++) {
-            var uniqueVal = _a[_i];
-            this.labelArray.push(uniqueVal['label']);
-            this.valueArray.push(uniqueVal['value']);
-            var uniqueSym = new SymbolClass(uniqueVal.symbol, this.opacity);
-            this.legendArray.push(("<span class=\"legend-layer-subitem\">" + htmlEscape(uniqueVal['label']) + "</span>") + uniqueSym.legendHtml);
-            this.propertyStyleLookup[uniqueVal['value']] = uniqueSym.olStyle;
-        }
-        this.olStyle = function (feature) {
-            var checkProperties = feature.getProperties();
-            var checkProperty = checkProperties[_this.propertyName];
-            var returnValue;
-            if (_this.propertyStyleLookup[checkProperty] !== undefined) {
-                returnValue = [_this.propertyStyleLookup[checkProperty]];
-            }
-            else {
-                returnValue = [_this.defaultStyle];
-            }
-            return returnValue;
-        };
-        if (this.defaultLabelHtml !== null) {
-            this.legendArray.push(this.defaultLabelHtml);
-        }
-        this.legendHtml = '<ul>';
-        for (var _b = 0, _c = this.legendArray; _b < _c.length; _b++) {
-            var h = _c[_b];
-            this.legendHtml += "<li>" + h + "</li>";
-        }
-        this.legendHtml += '</ul>';
-    }
-    return UniqueValueSymbol;
-}(SymbolGenerator));
-/**
- * style and legend object
- * @typedef {object} styleAndLegend
- * @property {styleFunc} style - style function
- * @property {string} legend - legend content
- */
-/**
- *
- * @param {object} esriResponse - layer info
- * @returns {styleAndLegend} style and legend object
- */
-function makeFeatureServiceLegendAndSymbol(esriResponse) {
-    "use strict";
-    var renderer = esriResponse.drawingInfo.renderer;
-    var symbolLegendOut = null;
-    switch (renderer.type) {
-        case 'simple':
-            switch (esriResponse.geometryType) {
-                case 'esriGeometryPoint':
-                    symbolLegendOut = new SingleSymbol(esriResponse, PointSymbol);
-                    break;
-                case 'esriGeometryPolyline':
-                    symbolLegendOut = new SingleSymbol(esriResponse, LineSymbol);
-                    break;
-                case 'esriGeometryPolygon':
-                    symbolLegendOut = new SingleSymbol(esriResponse, PolygonSymbol);
-                    break;
-                default:
-                    console.log(esriResponse);
-                    alert(esriResponse.geometryType + ' not handled');
-            }
-            break;
-        case 'uniqueValue':
-            switch (esriResponse.geometryType) {
-                case 'esriGeometryPoint':
-                    symbolLegendOut = new UniqueValueSymbol(esriResponse, PointSymbol);
-                    break;
-                case 'esriGeometryPolyline':
-                    symbolLegendOut = new UniqueValueSymbol(esriResponse, LineSymbol);
-                    break;
-                case 'esriGeometryPolygon':
-                    symbolLegendOut = new UniqueValueSymbol(esriResponse, PolygonSymbol);
-                    break;
-                default:
-                    console.log(esriResponse);
-                    alert(esriResponse['geometryType'] + ' not handled');
-            }
-            break;
-        default:
-            alert('not handled renderer type: ' + renderer['type']);
-    }
-    if (symbolLegendOut == null) {
-        return { style: undefined, legend: '' };
-    }
-    else {
-        return { style: symbolLegendOut.olStyle, legend: symbolLegendOut.legendHtml };
-    }
-}
-exports.makeFeatureServiceLegendAndSymbol = makeFeatureServiceLegendAndSymbol;
-nm.makeFeatureServiceLegendAndSymbol = makeFeatureServiceLegendAndSymbol;
-/**
- *
- * @param {object} lyrObject - the layer as defined in the response
- * @param {boolean} [iconsOnly=false] use only icons
- * @returns {string} legend html
- */
-function mapServiceLegendItem(lyrObject, iconsOnly) {
-    if (iconsOnly === void 0) { iconsOnly = false; }
-    iconsOnly = typeof iconsOnly == 'boolean' ? iconsOnly : false;
-    var layerName = lyrObject['layerName'];
-    var legendItems = lyrObject['legend'];
-    var legendHtml = '';
-    if (legendItems.length == 1) {
-        legendHtml = "<img class=\"legend-layer-icon\" height=\"17\" src=\"data:image/png;base64," + legendItems[0]['imageData'] + "\">";
-    }
-    else {
-        legendHtml += '<span class="legend-items-expander" title="Expand/Collapse">&#9660;</span><ul>';
-        for (var i = 0; i < legendItems.length; i++) {
-            legendHtml += "<li>";
-            legendHtml += "<span class=\"legend-layer-subitem\">" + htmlEscape(legendItems[i]['label']) + "</span>";
-            legendHtml += "<img class=\"legend-layer-icon\" height=\"17\" src=\"data:image/png;base64," + legendItems[i]['imageData'] + "\">";
-            legendHtml += "</li>";
-        }
-        legendHtml += '</ul>';
-    }
-    if (!iconsOnly) {
-        legendHtml = ("<span class=\"legend-layer-subitem\">" + layerName + "</span>") + legendHtml;
-    }
-    return legendHtml;
-}
-/**
- * make map service legent
- * @param {object} esriResponse - layer info
- * @returns {string} legend content
- */
-function makeMapServiceLegend(esriResponse) {
-    "use strict";
-    var newLegendHtml = '';
-    var layers = esriResponse['layers'];
-    if (layers.length == 1) {
-        newLegendHtml += mapServiceLegendItem(layers[0], true);
-    }
-    else {
-        newLegendHtml += '<ul>';
-        for (var i = 0; i < layers.length; i++) {
-            newLegendHtml += '<li>' + mapServiceLegendItem(layers[i]) + '</li>';
-        }
-        newLegendHtml += '</ul>';
-    }
-    return newLegendHtml;
-}
-exports.makeMapServiceLegend = makeMapServiceLegend;
-nm.makeMapServiceLegend = makeMapServiceLegend;
-//# sourceMappingURL=esriToOlStyle.js.map
\ No newline at end of file
diff --git a/lib-ts/olHelpers/esriToOlStyle.js.map b/lib-ts/olHelpers/esriToOlStyle.js.map
deleted file mode 100644
index 0e4207cadbeac3afaec714a0ca0d9e13278cc576..0000000000000000000000000000000000000000
--- a/lib-ts/olHelpers/esriToOlStyle.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"esriToOlStyle.js","sourceRoot":"","sources":["../../src-ts/olHelpers/esriToOlStyle.ts"],"names":[],"mappings":";;;;;;AAAA;;GAEG;AACH,wBAAoB,iBAAiB,CAAC,CAAA;AACtC,0BAAiB,WAAW,CAAC,CAAA;AAC7B,IAAM,EAAE,GAAG,iBAAO,CAAC,yBAAyB,CAAC,CAAC;AAE9C;;;;;GAKG;AAEH;;;;;;GAMG;AACH,2BAA2B,UAAU,EAAE,OAAO;IAC1C,YAAY,CAAC;IAEb,MAAM,CAAC,UAAQ,UAAU,CAAC,CAAC,CAAC,SAAI,UAAU,CAAC,CAAC,CAAC,SAAI,UAAU,CAAC,CAAC,CAAC,SAAI,OAAO,MAAG,CAAC;AACjF,CAAC;AAED;;;;GAIG;AACH,oBAAoB,GAAG;IACnB,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC;SACb,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC;SACtB,OAAO,CAAC,IAAI,EAAE,QAAQ,CAAC;SACvB,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC;SACtB,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;AAC/B,CAAC;AAED,EAAE,CAAC,UAAU,GAAG,UAAU,CAAC;AA4B3B;IAMI;;;;OAIG;IACH,sBAAY,SAAqB,EAAE,OAAe;QAC9C,IAAI,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AC,MAAM,CAAC,MAAM,IAAI,CAAC,CAAC,CAAC,CAAC;QACrB,aAAa,IAAI,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;IAAC,IAAI,CAAC,CAAC;QACJ,aAAa,IAAI,MAAM,CAAC;QACxB,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YACrC,aAAa,IAAI,MAAM,GAAG,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC;QACxE,CAAC;QACD,aAAa,IAAI,OAAO,CAAC;IAC7B,CAAC;IAED,MAAM,CAAC,aAAa,CAAC;AACzB,CAAC;AAlBe,4BAAoB,uBAkBnC,CAAA;AAED,EAAE,CAAC,oBAAoB,GAAG,oBAAoB,CAAC"}
\ No newline at end of file
diff --git a/lib-ts/olHelpers/extentUtil.d.ts b/lib-ts/olHelpers/extentUtil.d.ts
deleted file mode 100644
index 34f326beacdc972ab167717fab16e35c2c570ece..0000000000000000000000000000000000000000
--- a/lib-ts/olHelpers/extentUtil.d.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { ol } from 'custom-ol';
-/**
- *
- * @param {Array<LayerBaseVector>|Array<ol.layer.Vector>|LayerBaseVector|ol.layer.Vector|*} layers - array of layers or single
- * @returns {ol.Extent|Array<number>|*} - collective extent
- */
-export declare function calculateExtent(layers: any): ol.Extent | Array<number>;
-/**
- * given one or an array of layers, fit to the map
- * @param {Array<LayerBaseVector>|Array<ol.layer.Vector>|LayerBaseVector|ol.layer.Vector} layers - array of layers or single
- * @param {ol.Map} mp - the map to fit
- * @param {number|undefined} [zoomOut=undefined] - levels to zoom out after fit
- */
-export declare function fitToMap(layers: any, mp: ol.Map, zoomOut?: number): void;
diff --git a/lib-ts/olHelpers/extentUtil.js b/lib-ts/olHelpers/extentUtil.js
deleted file mode 100644
index 319d756dbf6d16acdbb624aee4e089ee827b73ab..0000000000000000000000000000000000000000
--- a/lib-ts/olHelpers/extentUtil.js
+++ /dev/null
@@ -1,70 +0,0 @@
-"use strict";
-/**
- * Created by gavorhes on 7/18/2016.
- */
-var provide_1 = require('../util/provide');
-var nm = provide_1.default('util');
-/**
- *
- * @param {Array<LayerBaseVector>|Array<ol.layer.Vector>|LayerBaseVector|ol.layer.Vector|*} layers - array of layers or single
- * @returns {ol.Extent|Array<number>|*} - collective extent
- */
-function calculateExtent(layers) {
-    "use strict";
-    if (layers.constructor.name != 'Array') {
-        layers = [layers];
-    }
-    var hasExtent = false;
-    var minX = 10E100;
-    var minY = 10E100;
-    var maxX = -10E100;
-    var maxY = -10E100;
-    for (var _i = 0, layers_1 = layers; _i < layers_1.length; _i++) {
-        var lyr = layers_1[_i];
-        /**
-         *
-         * @type {ol.layer.Vector}
-         */
-        var olLayer = lyr['olLayer'] || lyr;
-        if (olLayer.getSource().getFeatures().length > 0) {
-            hasExtent = true;
-            var ext = olLayer.getSource().getExtent();
-            minX = ext[0] < minX ? ext[0] : minX;
-            minY = ext[1] < minY ? ext[1] : minY;
-            maxX = ext[2] > maxX ? ext[2] : maxX;
-            maxY = ext[3] > maxY ? ext[3] : maxY;
-        }
-    }
-    if (hasExtent) {
-        return [minX, minY, maxX, maxY];
-    }
-    else {
-        return undefined;
-    }
-}
-exports.calculateExtent = calculateExtent;
-nm.calculateExtent = calculateExtent;
-/**
- * given one or an array of layers, fit to the map
- * @param {Array<LayerBaseVector>|Array<ol.layer.Vector>|LayerBaseVector|ol.layer.Vector} layers - array of layers or single
- * @param {ol.Map} mp - the map to fit
- * @param {number|undefined} [zoomOut=undefined] - levels to zoom out after fit
- */
-function fitToMap(layers, mp, zoomOut) {
-    "use strict";
-    /**
-     *
-     * @type {ol.Extent|undefined}
-     */
-    var ext = calculateExtent(layers);
-    if (typeof ext == 'undefined') {
-        return;
-    }
-    mp.getView().fit(ext, mp.getSize());
-    if (typeof zoomOut == 'number') {
-        mp.getView().setZoom(mp.getView().getZoom() - zoomOut);
-    }
-}
-exports.fitToMap = fitToMap;
-nm.calculateExtent = calculateExtent;
-//# sourceMappingURL=extentUtil.js.map
\ No newline at end of file
diff --git a/lib-ts/olHelpers/extentUtil.js.map b/lib-ts/olHelpers/extentUtil.js.map
deleted file mode 100644
index 7cd0531833c3c12710ada4996e81bbc519ffee02..0000000000000000000000000000000000000000
--- a/lib-ts/olHelpers/extentUtil.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"extentUtil.js","sourceRoot":"","sources":["../../src-ts/olHelpers/extentUtil.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH,wBAAoB,iBAAiB,CAAC,CAAA;AAItC,IAAM,EAAE,GAAG,iBAAO,CAAC,MAAM,CAAC,CAAC;AAE3B;;;;GAIG;AACH,yBAAgC,MAAM;IAClC,YAAY,CAAC;IAEb,EAAE,CAAC,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,IAAI,OAAO,CAAC,CAAA,CAAC;QACpC,MAAM,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;IAED,IAAI,SAAS,GAAG,KAAK,CAAC;IAEtB,IAAI,IAAI,GAAG,MAAM,CAAC;IAClB,IAAI,IAAI,GAAG,MAAM,CAAC;IAClB,IAAI,IAAI,GAAG,CAAC,MAAM,CAAC;IACnB,IAAI,IAAI,GAAG,CAAC,MAAM,CAAC;IAEnB,GAAG,CAAC,CAAY,UAAM,EAAN,iBAAM,EAAN,oBAAM,EAAN,IAAM,CAAC;QAAlB,IAAI,GAAG,eAAA;QAER;;;WAGG;QACH,IAAI,OAAO,GAAG,GAAG,CAAC,SAAS,CAAC,IAAI,GAAG,CAAC;QAGpC,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,EAAE,CAAC,WAAW,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC;YAC/C,SAAS,GAAG,IAAI,CAAC;YACjB,IAAI,GAA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,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE,GAAG,OAAO,CAAC,CAAC;IAC3D,CAAC;AAEL,CAAC;AAnBe,gBAAQ,WAmBvB,CAAA;AAED,EAAE,CAAC,eAAe,GAAG,eAAe,CAAC"}
\ No newline at end of file
diff --git a/lib-ts/olHelpers/layerSwipe.d.ts b/lib-ts/olHelpers/layerSwipe.d.ts
deleted file mode 100644
index 793b815eeca06a995b18eba620172907039cee32..0000000000000000000000000000000000000000
--- a/lib-ts/olHelpers/layerSwipe.d.ts
+++ /dev/null
@@ -1,30 +0,0 @@
-import { LayerBase } from "../layers/LayerBase";
-import { ol } from 'custom-ol';
-declare class LayerSwipe {
-    leftLayers: Array<LayerBase>;
-    rightLayers: Array<LayerBase>;
-    _percentRight: number;
-    _map: ol.Map;
-    $mapElement: JQuery;
-    $swiper: JQuery;
-    dragging: boolean;
-    offset: number;
-    /**
-     *
-     * @param {ol.Map} map - the map
-     * @param {string} [sliderContent=''] - additional html to be added inside the slider div
-     */
-    constructor(map: ol.Map, sliderContent?: string);
-    /**
-     *
-     * @param {LayerBase|*} lyr - layer to be added to left side
-     */
-    addLeftLayer(lyr: any): void;
-    /**
-     *
-     * @param {LayerBase|*} lyr - layer to be added to right side
-     */
-    addRightLayer(lyr: any): void;
-    percentRight: number;
-}
-export default LayerSwipe;
diff --git a/lib-ts/olHelpers/layerSwipe.js b/lib-ts/olHelpers/layerSwipe.js
deleted file mode 100644
index 5dcee48351a8aea27ae78cfc3adf366c6eb5efaa..0000000000000000000000000000000000000000
--- a/lib-ts/olHelpers/layerSwipe.js
+++ /dev/null
@@ -1,127 +0,0 @@
-/**
- * Created by gavorhes on 6/1/2016.
- */
-"use strict";
-var provide_1 = require('../util/provide');
-var $ = require('jquery');
-var nm = provide_1.default('collections.layerSwipe');
-var LayerSwipe = (function () {
-    /**
-     *
-     * @param {ol.Map} map - the map
-     * @param {string} [sliderContent=''] - additional html to be added inside the slider div
-     */
-    function LayerSwipe(map, sliderContent) {
-        var _this = this;
-        if (sliderContent === void 0) { sliderContent = ''; }
-        sliderContent = sliderContent || '';
-        /**
-         *
-         * @type {Array<LayerBase>}
-         */
-        this.leftLayers = [];
-        /**
-         *
-         * @type {Array<LayerBase>}
-         */
-        this.rightLayers = [];
-        this._percentRight = 50;
-        this.offset = null;
-        this._map = map;
-        this.$mapElement = $(map.getTargetElement());
-        this.$mapElement.append("<div class=\"layer-swiper\">" + sliderContent + "</div>");
-        this.$swiper = this.$mapElement.find('.layer-swiper');
-        this.percentRight = this.percentRight;
-        this.dragging = false;
-        this.$mapElement.mouseleave(function () {
-            _this.dragging = false;
-        });
-        this.$swiper.bind('mousewheel DOMMouseScroll', function (evt) {
-            evt.preventDefault();
-        });
-        this.$swiper.mousedown(function (evt) {
-            _this.dragging = true;
-            _this.offset = evt.offsetX;
-        });
-        $(window).mouseup(function () {
-            _this.dragging = false;
-        });
-        this.$mapElement.mousemove(function (evt) {
-            if (_this.dragging) {
-                var mapLeft = _this.$mapElement.position().left;
-                var mapWidth = _this.$mapElement.width();
-                _this.percentRight = 100 * (evt.pageX - _this.offset - mapLeft) / mapWidth;
-            }
-        });
-    }
-    /**
-     *
-     * @param {LayerBase|*} lyr - layer to be added to left side
-     */
-    LayerSwipe.prototype.addLeftLayer = function (lyr) {
-        var _this = this;
-        if (this.leftLayers.indexOf(lyr) != -1) {
-            return;
-        }
-        lyr.olLayer.on('precompose', function (event) {
-            var ctx = event['context'];
-            var width = ctx.canvas.width * (_this.percentRight / 100);
-            ctx.save();
-            ctx.beginPath();
-            ctx.rect(0, 0, width, ctx.canvas.height);
-            ctx.clip();
-        });
-        lyr.olLayer.on('postcompose', function (event) {
-            var ctx = event['context'];
-            ctx.restore();
-        });
-        this.leftLayers.push(lyr);
-    };
-    /**
-     *
-     * @param {LayerBase|*} lyr - layer to be added to right side
-     */
-    LayerSwipe.prototype.addRightLayer = function (lyr) {
-        var _this = this;
-        if (this.rightLayers.indexOf(lyr) != -1) {
-            return;
-        }
-        lyr.olLayer.on('precompose', function (event) {
-            var ctx = event['context'];
-            var width = ctx.canvas.width * (_this.percentRight / 100);
-            ctx.save();
-            ctx.beginPath();
-            ctx.rect(width, 0, ctx.canvas.width - width, ctx.canvas.height);
-            ctx.clip();
-        });
-        lyr.olLayer.on('postcompose', function (event) {
-            var ctx = event['context'];
-            ctx.restore();
-        });
-        this.rightLayers.push(lyr);
-    };
-    Object.defineProperty(LayerSwipe.prototype, "percentRight", {
-        get: function () {
-            return this._percentRight;
-        },
-        set: function (percent) {
-            var maxed = this.$swiper.position().left + this.$swiper.width() > this.$mapElement.width();
-            if (percent < 0) {
-                return;
-            }
-            else if (maxed && percent > this.percentRight) {
-                return;
-            }
-            this._percentRight = percent;
-            this.$swiper.css('left', this._percentRight.toFixed(2) + "%");
-            this._map.render();
-        },
-        enumerable: true,
-        configurable: true
-    });
-    return LayerSwipe;
-}());
-nm.LayerSwipe = LayerSwipe;
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.default = LayerSwipe;
-//# sourceMappingURL=layerSwipe.js.map
\ No newline at end of file
diff --git a/lib-ts/olHelpers/layerSwipe.js.map b/lib-ts/olHelpers/layerSwipe.js.map
deleted file mode 100644
index 62de2c56677f939244141d27ec92b1b37f324d00..0000000000000000000000000000000000000000
--- a/lib-ts/olHelpers/layerSwipe.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"layerSwipe.js","sourceRoot":"","sources":["../../src-ts/olHelpers/layerSwipe.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAGH,wBAAoB,iBAAiB,CAAC,CAAA;AAEtC,IAAM,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AAG5B,IAAI,EAAE,GAAG,iBAAO,CAAC,wBAAwB,CAAC,CAAC;AAG3C;IASI;;;;OAIG;IACH,oBAAY,GAAW,EAAE,aAA0B;QAdvD,iBA+IC;QAjI4B,6BAA0B,GAA1B,kBAA0B;QAE/C,aAAa,GAAG,aAAa,IAAI,EAAE,CAA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AAC;YAE3F,EAAE,CAAC,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC;gBACd,MAAM,CAAC;YACX,CAAC;YAAC,IAAI,CAAC,EAAE,CAAC,CAAC,KAAK,IAAI,OAAO,GAAG,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;gBAC9C,MAAM,CAAC;YACX,CAAC;YAED,IAAI,CAAC,aAAa,GAAG,OAAO,CAAC;YAC7B,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,EAAK,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,CAAC,MAAG,CAAC,CAAC;YAC9D,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;QACvB,CAAC;;;OAdA;IAeL,iBAAC;AAAD,CAAC,AA/ID,IA+IC;AAED,EAAE,CAAC,UAAU,GAAG,UAAU,CAAC;AAC3B;kBAAe,UAAU,CAAC"}
\ No newline at end of file
diff --git a/lib-ts/olHelpers/mapInteractionBase.d.ts b/lib-ts/olHelpers/mapInteractionBase.d.ts
deleted file mode 100644
index 2d7cd402198dd8e9381c52bf013ea2c07077b9ff..0000000000000000000000000000000000000000
--- a/lib-ts/olHelpers/mapInteractionBase.d.ts
+++ /dev/null
@@ -1,40 +0,0 @@
-import { ol } from 'custom-ol';
-/**
- * base interaction
- */
-export declare class MapInteractionBase {
-    _map: ol.Map;
-    _initialized: boolean;
-    _subtype: string;
-    /**
-     * map interaction base
-     * @param subtype - the interaction subtype
-     */
-    constructor(subtype: string);
-    /**
-     * base initializer, returns true for already initialized
-     * @param theMap - the ol Map
-     * @returns true for already initialized
-     */
-    init(theMap: ol.Map): void;
-    /**
-     * get reference to the ol map object
-     * @returns {ol.Map} the map object
-     */
-    map: ol.Map;
-    /**
-     * get if is initialized
-     * @returns {boolean} is initialized
-     */
-    initialized: boolean;
-    /**
-     * Check the initialization status and throw exception if not valid yet
-     * @protected
-     */
-    _checkInit(): void;
-    /**
-     * Check the initialization status and throw exception if not valid yet
-     */
-    checkInit(): void;
-}
-export default MapInteractionBase;
diff --git a/lib-ts/olHelpers/mapInteractionBase.js b/lib-ts/olHelpers/mapInteractionBase.js
deleted file mode 100644
index b8bc2b5f2066f9e732dc654532936a63451490a2..0000000000000000000000000000000000000000
--- a/lib-ts/olHelpers/mapInteractionBase.js
+++ /dev/null
@@ -1,77 +0,0 @@
-"use strict";
-/**
- * Created by gavorhes on 12/8/2015.
- */
-var provide_1 = require('../util/provide');
-var nm = provide_1.default('olHelpers');
-/**
- * base interaction
- */
-var MapInteractionBase = (function () {
-    /**
-     * map interaction base
-     * @param subtype - the interaction subtype
-     */
-    function MapInteractionBase(subtype) {
-        this._map = null;
-        this._initialized = false;
-        this._subtype = subtype;
-    }
-    /**
-     * base initializer, returns true for already initialized
-     * @param theMap - the ol Map
-     * @returns true for already initialized
-     */
-    MapInteractionBase.prototype.init = function (theMap) {
-        if (!this._initialized) {
-            this._map = theMap;
-            this._initialized = true;
-        }
-    };
-    Object.defineProperty(MapInteractionBase.prototype, "map", {
-        /**
-         * get reference to the ol map object
-         * @returns {ol.Map} the map object
-         */
-        get: function () {
-            return this._map;
-        },
-        enumerable: true,
-        configurable: true
-    });
-    Object.defineProperty(MapInteractionBase.prototype, "initialized", {
-        /**
-         * get if is initialized
-         * @returns {boolean} is initialized
-         */
-        get: function () {
-            return this._initialized;
-        },
-        enumerable: true,
-        configurable: true
-    });
-    /**
-     * Check the initialization status and throw exception if not valid yet
-     * @protected
-     */
-    MapInteractionBase.prototype._checkInit = function () {
-        if (!this.initialized) {
-            var msg = this._subtype + " object not initialized";
-            alert(msg);
-            console.log(msg);
-            throw msg;
-        }
-    };
-    /**
-     * Check the initialization status and throw exception if not valid yet
-     */
-    MapInteractionBase.prototype.checkInit = function () {
-        this._checkInit();
-    };
-    return MapInteractionBase;
-}());
-exports.MapInteractionBase = MapInteractionBase;
-nm.MapInteractionBase = MapInteractionBase;
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.default = MapInteractionBase;
-//# sourceMappingURL=mapInteractionBase.js.map
\ No newline at end of file
diff --git a/lib-ts/olHelpers/mapInteractionBase.js.map b/lib-ts/olHelpers/mapInteractionBase.js.map
deleted file mode 100644
index 6d1cb768b202e29efc1293e27d15c9713de5a0a1..0000000000000000000000000000000000000000
--- a/lib-ts/olHelpers/mapInteractionBase.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"mapInteractionBase.js","sourceRoot":"","sources":["../../src-ts/olHelpers/mapInteractionBase.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH,wBAAoB,iBAAiB,CAAC,CAAA;AAEtC,IAAM,EAAE,GAAG,iBAAO,CAAC,WAAW,CAAC,CAAC;AAIhC;;GAEG;AACH;IAKI;;;OAGG;IACH,4BAAY,OAAe;QACvB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC;QAC1B,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;IAC5B,CAAC;IAED;;;;OAIG;IACH,iCAAI,GAAJ,UAAK,MAAc;QACf,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAA,CAAC;YACpB,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC;YACnB,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;QAC7B,CAAC;IACL,CAAC;IAMD,sBAAI,mCAAG;QAJP;;;WAGG;aACH;YACI,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC;QACrB,CAAC;;;OAAA;IAMD,sBAAI,2CAAW;QAJf;;;WAGG;aACH;YACI,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC;QAC7B,CAAC;;;OAAA;IAED;;;OAGG;IACH,uCAAU,GAAV;QACI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;YACpB,IAAI,GAAG,GAAM,IAAI,CAAC,QAAQ,4BAAyB,CAAC;YACpD,KAAK,CAAC,GAAG,CAAC,CAAC;YACX,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YACjB,MAAM,GAAG,CAAC;QACd,CAAC;IACL,CAAC;IAED;;OAEG;IACH,sCAAS,GAAT;QACI,IAAI,CAAC,UAAU,EAAE,CAAC;IACtB,CAAC;IACL,yBAAC;AAAD,CAAC,AA9DD,IA8DC;AA9DY,0BAAkB,qBA8D9B,CAAA;AAED,EAAE,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;AAC3C;kBAAe,kBAAkB,CAAC"}
\ No newline at end of file
diff --git a/lib-ts/olHelpers/mapMove.d.ts b/lib-ts/olHelpers/mapMove.d.ts
deleted file mode 100644
index 963afaee1d4749f44b9fcbd6bb58a6ccbc84209e..0000000000000000000000000000000000000000
--- a/lib-ts/olHelpers/mapMove.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Created by gavorhes on 11/3/2015.
- */
-import MapMoveCls from './mapMoveCls';
-declare var _default: MapMoveCls;
-export default _default;
diff --git a/lib-ts/olHelpers/mapMove.js b/lib-ts/olHelpers/mapMove.js
deleted file mode 100644
index 17e2509954606a9303a42401e801df012aead064..0000000000000000000000000000000000000000
--- a/lib-ts/olHelpers/mapMove.js
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Created by gavorhes on 11/3/2015.
- */
-"use strict";
-var mapMoveCls_1 = require('./mapMoveCls');
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.default = new mapMoveCls_1.default();
-//# sourceMappingURL=mapMove.js.map
\ No newline at end of file
diff --git a/lib-ts/olHelpers/mapMove.js.map b/lib-ts/olHelpers/mapMove.js.map
deleted file mode 100644
index a6d883949e5f5db39f9a2442ee9b05c711a14f94..0000000000000000000000000000000000000000
--- a/lib-ts/olHelpers/mapMove.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"mapMove.js","sourceRoot":"","sources":["../../src-ts/olHelpers/mapMove.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,2BAAuB,cAAc,CAAC,CAAA;AAMtC;kBAAe,IAAI,oBAAU,EAAE,CAAC"}
\ No newline at end of file
diff --git a/lib-ts/olHelpers/mapMoveCls.d.ts b/lib-ts/olHelpers/mapMoveCls.d.ts
deleted file mode 100644
index 1d60a791ff0177128b7ded770929c52c2a8462d2..0000000000000000000000000000000000000000
--- a/lib-ts/olHelpers/mapMoveCls.d.ts
+++ /dev/null
@@ -1,75 +0,0 @@
-import LayerBaseVector from "../layers/LayerBaseVector";
-import MapInteractionBase from './mapInteractionBase';
-import { ol } from 'custom-ol';
-import { extentObject } from '../_internalnterfaces';
-import Timer = NodeJS.Timer;
-export interface mapMoveCallbackFunction {
-    /**
-     *
-     * @param extent extent as predefined object minX, minX, maxX, maxY
-     * @param zoomLevel current zoom level
-     * @param evtType the event type 'change:center', 'change:resolution'
-     */
-    (extent: extentObject, zoomLevel: number, evtType?: string): any;
-}
-/**
- * assists with map move interactions, trigger callback functions
- * @augments MapInteractionBase
- */
-export declare class MapMoveCls extends MapInteractionBase {
-    _mapExtent: extentObject;
-    _zoomLevel: number;
-    _lookupLayer: Object;
-    _arrLayer: Array<LayerBaseVector>;
-    _arrLyrTimeout: Array<Timer>;
-    _mapMoveCallbackTimeout: Array<Timer>;
-    _mapMoveCallbackDelays: Array<number>;
-    _mapMoveCallbacksLookup: Object;
-    _mapMoveCallbackContext: Array<Object>;
-    _mapMoveCallbacks: Array<mapMoveCallbackFunction>;
-    _arrLyrRequest: Array<any>;
-    /**
-     * constructor called implicitly
-     */
-    constructor();
-    /**
-     * initialize the map move object
-     * @param theMap - the ol map
-     */
-    init(theMap: ol.Map): void;
-    _updateMapExtent(): void;
-    /**
-     * return the map extent
-     */
-    mapExtent: extentObject;
-    /**
-     * Trigger the layer load
-     * @param lyr the layer being acted on
-     * @param index index of the layer
-     * @param eventType the event triggering the load, as 'change:center' or 'change:resolution'
-     */
-    triggerLyrLoad(lyr: LayerBaseVector, index?: number, eventType?: string): void;
-    /**
-     * trigger the map move call back at the given index
-     * @param ind - the index of the layer
-     * @param eventType=undefined the event triggering the load as 'change:center' or 'change:resolution'
-     * @param functionId=undefined the function id used to reference the added callback function
-     */
-    triggerMoveCallback(ind: number, eventType?: string, functionId?: string): void;
-    /**
-     * Add a layer to the interaction
-     * @param  lyr - layer to add
-     * @param triggerOnAdd - if the layer should be loaded on add
-     */
-    addVectorLayer(lyr: LayerBaseVector, triggerOnAdd?: boolean): void;
-    /**
-     * add a callback to the map move event
-     * @param func - callback function
-     * @param context - the context to use for this function
-     * @param delay=50 the delay before call load
-     * @param triggerOnAdd if the layer should be loaded on add to mapMove
-     * @param functionId optional id to reference the function later for outside triggering
-     */
-    addCallback(func: mapMoveCallbackFunction, context: any, delay?: number, triggerOnAdd?: boolean, functionId?: string): void;
-}
-export default MapMoveCls;
diff --git a/lib-ts/olHelpers/mapMoveCls.js b/lib-ts/olHelpers/mapMoveCls.js
deleted file mode 100644
index 4b450595fe0658cc0b381eae252a811306738f7d..0000000000000000000000000000000000000000
--- a/lib-ts/olHelpers/mapMoveCls.js
+++ /dev/null
@@ -1,233 +0,0 @@
-"use strict";
-var __extends = (this && this.__extends) || function (d, b) {
-    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
-    function __() { this.constructor = d; }
-    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-};
-var mapInteractionBase_1 = require('./mapInteractionBase');
-var checkDefined = require('../util/checkDefined');
-var provide_1 = require('../util/provide');
-var makeGuid_1 = require('../util/makeGuid');
-var $ = require('jquery');
-var nm = provide_1.default('olHelpers');
-/**
- * assists with map move interactions, trigger callback functions
- * @augments MapInteractionBase
- */
-var MapMoveCls = (function (_super) {
-    __extends(MapMoveCls, _super);
-    /**
-     * constructor called implicitly
-     */
-    function MapMoveCls() {
-        _super.call(this, 'map move');
-        this._arrLyrRequest = [];
-        this._arrLyrTimeout = [];
-        this._arrLayer = [];
-        this._lookupLayer = {};
-        this._mapMoveCallbacks = [];
-        this._mapMoveCallbacksLookup = {};
-        this._mapMoveCallbackDelays = [];
-        this._mapMoveCallbackContext = [];
-        this._mapMoveCallbackTimeout = [];
-        this._mapExtent = undefined;
-        this._zoomLevel = undefined;
-    }
-    /**
-     * initialize the map move object
-     * @param theMap - the ol map
-     */
-    MapMoveCls.prototype.init = function (theMap) {
-        var _this = this;
-        _super.prototype.init.call(this, theMap);
-        this.map.getView().on(['change:center', 'change:resolution'], function (e) {
-            _this._updateMapExtent();
-            // trigger the layer updates
-            for (var i = 0; i < _this._arrLayer.length; i++) {
-                _this.triggerLyrLoad(_this._arrLayer[i], i, e.type);
-            }
-            // trigger the map callbacks
-            for (var i = 0; i < _this._mapMoveCallbacks.length; i++) {
-                _this.triggerMoveCallback(i, e.type);
-            }
-        });
-    };
-    MapMoveCls.prototype._updateMapExtent = function () {
-        var theView = this.map.getView();
-        this._zoomLevel = theView.getZoom();
-        var extentArray = theView.calculateExtent(this.map.getSize());
-        this._mapExtent = {
-            minX: extentArray[0],
-            minY: extentArray[1],
-            maxX: extentArray[2],
-            maxY: extentArray[3]
-        };
-    };
-    Object.defineProperty(MapMoveCls.prototype, "mapExtent", {
-        /**
-         * return the map extent
-         */
-        get: function () {
-            if (!this._mapExtent) {
-                this._updateMapExtent();
-            }
-            return this._mapExtent;
-        },
-        enumerable: true,
-        configurable: true
-    });
-    /**
-     * Trigger the layer load
-     * @param lyr the layer being acted on
-     * @param index index of the layer
-     * @param eventType the event triggering the load, as 'change:center' or 'change:resolution'
-     */
-    MapMoveCls.prototype.triggerLyrLoad = function (lyr, index, eventType) {
-        if (checkDefined.undefinedOrNull(lyr) && checkDefined.undefinedOrNull(index)) {
-            throw 'need to define lyr or index';
-        }
-        else if (checkDefined.definedAndNotNull(lyr) && checkDefined.undefinedOrNull(index)) {
-            index = this._arrLayer.indexOf(lyr);
-        }
-        else if (checkDefined.undefinedOrNull(lyr) && checkDefined.definedAndNotNull(index)) {
-            lyr = this._arrLayer[index];
-        }
-        // clear the timeout
-        if (this._arrLyrTimeout[index] != null) {
-            clearTimeout(this._arrLyrTimeout[index]);
-            this._arrLyrTimeout[index] = null;
-        }
-        // abort if necessary and clear the request
-        if (this._arrLyrRequest[index] != null && this._arrLyrRequest[index] != 4) {
-            this._arrLyrRequest[index].abort();
-            this._arrLyrRequest[index] = null;
-        }
-        // dummy callback used if before load returns false
-        var callbackFunc = function () { };
-        if (lyr.mapMoveBefore(this._zoomLevel, eventType)) {
-            lyr.mapMoveMakeGetParams(this._mapExtent, this._zoomLevel);
-            var _this_1 = this;
-            callbackFunc = function () {
-                function innerFunction(theLayer, theIndex) {
-                    var _innerThis = this;
-                    this._arrLyrRequest[theIndex] = $.get(theLayer.url, theLayer.mapMoveParams, function (d) {
-                        /**
-                         * @type {LayerBaseVector}
-                         */
-                        theLayer.mapMoveCallback(d);
-                        theLayer.loadCallback();
-                    }, 'json').fail(function (jqXHR) {
-                        if (jqXHR.statusText != 'abort') {
-                            console.log('failed');
-                            console.log(theLayer.url);
-                            console.log(theLayer.mapMoveParams);
-                        }
-                    }).always(function () {
-                        _innerThis._arrLyrTimeout[theIndex] = null;
-                        _innerThis._arrLyrRequest[theIndex] = null;
-                    });
-                }
-                innerFunction.call(_this_1, lyr, index);
-            };
-        }
-        else {
-            lyr.clear();
-        }
-        this._arrLyrTimeout[index] = setTimeout(callbackFunc, lyr.onDemandDelay);
-    };
-    /**
-     * trigger the map move call back at the given index
-     * @param ind - the index of the layer
-     * @param eventType=undefined the event triggering the load as 'change:center' or 'change:resolution'
-     * @param functionId=undefined the function id used to reference the added callback function
-     */
-    MapMoveCls.prototype.triggerMoveCallback = function (ind, eventType, functionId) {
-        if (typeof ind == 'undefined' && typeof functionId == 'undefined') {
-            throw 'either the function index or the id must be defined';
-        }
-        if (typeof ind !== 'number') {
-            ind = this._mapMoveCallbacks.indexOf(this._mapMoveCallbacksLookup[functionId]);
-        }
-        if (ind < 0) {
-            console.log('function not found');
-            return;
-        }
-        // clear the timeout
-        if (this._mapMoveCallbackTimeout[ind] != null) {
-            clearTimeout(this._mapMoveCallbackTimeout[ind]);
-            this._mapMoveCallbackTimeout[ind] = null;
-        }
-        var ctx = this._mapMoveCallbackContext[ind];
-        var theFunc = this._mapMoveCallbacks[ind];
-        var _this = this;
-        var f = function () {
-            if (ctx !== null) {
-                theFunc.call(ctx, _this._mapExtent, _this._zoomLevel, eventType);
-            }
-            else {
-                theFunc(_this._mapExtent, _this._zoomLevel, eventType);
-            }
-        };
-        this._mapMoveCallbackTimeout[ind] = setTimeout(f, this._mapMoveCallbackDelays[ind]);
-    };
-    /**
-     * Add a layer to the interaction
-     * @param  lyr - layer to add
-     * @param triggerOnAdd - if the layer should be loaded on add
-     */
-    MapMoveCls.prototype.addVectorLayer = function (lyr, triggerOnAdd) {
-        if (triggerOnAdd === void 0) { triggerOnAdd = true; }
-        if (this._arrLayer.indexOf(lyr) > -1) {
-            console.log('already added ' + lyr.name + ' to map move');
-            return;
-        }
-        this._checkInit();
-        this._arrLyrRequest.push(null);
-        this._arrLyrTimeout.push(null);
-        this._arrLayer.push(lyr);
-        this._lookupLayer[lyr.id] = lyr;
-        triggerOnAdd = typeof triggerOnAdd == 'boolean' ? triggerOnAdd : true;
-        if (triggerOnAdd) {
-            if (this._mapExtent === undefined) {
-                this._updateMapExtent();
-            }
-            this.triggerLyrLoad(lyr, this._arrLayer.length - 1);
-        }
-    };
-    /**
-     * add a callback to the map move event
-     * @param func - callback function
-     * @param context - the context to use for this function
-     * @param delay=50 the delay before call load
-     * @param triggerOnAdd if the layer should be loaded on add to mapMove
-     * @param functionId optional id to reference the function later for outside triggering
-     */
-    MapMoveCls.prototype.addCallback = function (func, context, delay, triggerOnAdd, functionId) {
-        if (this._mapMoveCallbacks.indexOf(func) > -1) {
-            console.log('this function already added to map move');
-            return;
-        }
-        this._checkInit();
-        if (!functionId) {
-            functionId = makeGuid_1.default();
-        }
-        this._mapMoveCallbacks.push(func);
-        this._mapMoveCallbacksLookup[functionId] = functionId;
-        this._mapMoveCallbackDelays.push(typeof delay == 'number' ? delay : 50);
-        this._mapMoveCallbackContext.push(checkDefined.definedAndNotNull(context) ? context : null);
-        this._mapMoveCallbackTimeout.push(null);
-        triggerOnAdd = typeof triggerOnAdd == 'boolean' ? triggerOnAdd : true;
-        if (triggerOnAdd) {
-            if (this._mapExtent === undefined) {
-                this._updateMapExtent();
-            }
-            this.triggerMoveCallback(this._mapMoveCallbacks.length - 1);
-        }
-    };
-    return MapMoveCls;
-}(mapInteractionBase_1.default));
-exports.MapMoveCls = MapMoveCls;
-nm.MapMoveCls = MapMoveCls;
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.default = MapMoveCls;
-//# sourceMappingURL=mapMoveCls.js.map
\ No newline at end of file
diff --git a/lib-ts/olHelpers/mapMoveCls.js.map b/lib-ts/olHelpers/mapMoveCls.js.map
deleted file mode 100644
index 7a36fb08f05103d8fe5c0b8c11549ffecd2b8376..0000000000000000000000000000000000000000
--- a/lib-ts/olHelpers/mapMoveCls.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"mapMoveCls.js","sourceRoot":"","sources":["../../src-ts/olHelpers/mapMoveCls.ts"],"names":[],"mappings":";;;;;;AAEA,mCAA+B,sBAAsB,CAAC,CAAA;AACtD,IAAY,YAAY,WAAM,sBAAsB,CAAC,CAAA;AACrD,wBAAoB,iBAAiB,CAAC,CAAA;AACtC,yBAAqB,kBAAkB,CAAC,CAAA;AAIxC,IAAM,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AAC5B,IAAM,EAAE,GAAG,iBAAO,CAAC,WAAW,CAAC,CAAC;AAchC;;;GAGG;AACH;IAAgC,8BAAkB;IAa9C;;OAEG;IACH;QACI,kBAAM,UAAU,CAAC,CAAC;QAClB,IAAI,CAAC,cAAc,GAAG,EAAE,CAAC;QACzB,IAAI,CAAC,cAAc,GAAG,EAAE,CAAC;QACzB,IAAI,CAAC,SAAS,GAAG,EAAE,CAAC;QACpB,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC;QAEvB,IAAI,CA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IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,OAAO,KAAK,IAAI,QAAQ,GAAG,KAAK,GAAG,EAAE,CAAC,CAAC;QACxE,IAAI,CAAC,uBAAuB,CAAC,IAAI,CAAC,YAAY,CAAC,iBAAiB,CAAC,OAAO,CAAC,GAAG,OAAO,GAAG,IAAI,CAAC,CAAC;QAC5F,IAAI,CAAC,uBAAuB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAExC,YAAY,GAAG,OAAO,YAAY,IAAI,SAAS,GAAG,YAAY,GAAG,IAAI,CAAC;QAEtE,EAAE,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC;YACf,EAAE,CAAC,CAAC,IAAI,CAAC,UAAU,KAAK,SAAS,CAAC,CAAC,CAAC;gBAChC,IAAI,CAAC,gBAAgB,EAAE,CAAC;YAC5B,CAAC;YACD,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,iBAAiB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QAChE,CAAC;IACL,CAAC;IACL,iBAAC;AAAD,CAAC,AAlQD,CAAgC,4BAAkB,GAkQjD;AAlQY,kBAAU,aAkQtB,CAAA;AAED,EAAE,CAAC,UAAU,GAAG,UAAU,CAAC;AAC3B;kBAAe,UAAU,CAAC"}
\ No newline at end of file
diff --git a/lib-ts/olHelpers/mapPopup.d.ts b/lib-ts/olHelpers/mapPopup.d.ts
deleted file mode 100644
index f404d23735a789a6dbdb6c2d1e15316c43538796..0000000000000000000000000000000000000000
--- a/lib-ts/olHelpers/mapPopup.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Created by gavorhes on 11/3/2015.
- */
-import MapPopupCls from './mapPopupCls';
-declare var _default: MapPopupCls;
-export default _default;
diff --git a/lib-ts/olHelpers/mapPopup.js b/lib-ts/olHelpers/mapPopup.js
deleted file mode 100644
index 59df5a58a2a4d62b685503d8f4b06fc53b8a4486..0000000000000000000000000000000000000000
--- a/lib-ts/olHelpers/mapPopup.js
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Created by gavorhes on 11/3/2015.
- */
-"use strict";
-var mapPopupCls_1 = require('./mapPopupCls');
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.default = new mapPopupCls_1.default();
-//# sourceMappingURL=mapPopup.js.map
\ No newline at end of file
diff --git a/lib-ts/olHelpers/mapPopup.js.map b/lib-ts/olHelpers/mapPopup.js.map
deleted file mode 100644
index e4f9ae6c8c2c6b6c31c1b7a4fe5d1a7f493f150b..0000000000000000000000000000000000000000
--- a/lib-ts/olHelpers/mapPopup.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"mapPopup.js","sourceRoot":"","sources":["../../src-ts/olHelpers/mapPopup.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,4BAAwB,eAAe,CAAC,CAAA;AAMxC;kBAAe,IAAI,qBAAW,EAAE,CAAC"}
\ No newline at end of file
diff --git a/lib-ts/olHelpers/mapPopupCls.d.ts b/lib-ts/olHelpers/mapPopupCls.d.ts
deleted file mode 100644
index ec773bfc1701827e02bd41ae79ff537081aafac6..0000000000000000000000000000000000000000
--- a/lib-ts/olHelpers/mapPopupCls.d.ts
+++ /dev/null
@@ -1,150 +0,0 @@
-/// <reference path="../../definitions/jquery.d.ts" />
-/**
- * Created by gavorhes on 11/3/2015.
- */
-import MapInteractionBase from './mapInteractionBase';
-import { ol } from 'custom-ol';
-import { LayerBaseVector } from "../layers/LayerBaseVector";
-import LayerEsriMapServer from "../layers/LayerEsriMapServer";
-export interface popupChangedFunction {
-    ($popContent: JQuery): any;
-}
-/**
- *
- */
-export interface popupCallback {
-    /**
-     * Callback function for the popup
-     * @param featureProperties
-     * @param jqRef
-     */
-    (featureProperties: Object, jqRef: JQuery): string | boolean;
-}
-export declare class FeatureLayerProperties {
-    feature: ol.Feature;
-    layer: LayerEsriMapServer;
-    layerIndex: number;
-    selectionLayer: ol.layer.Vector;
-    popupContent: string;
-    esriLayerName: string;
-    /**
-     *
-     * @param feature the feature
-     * @param layer - the layer in the popup
-     * @param layerIndex - index of the layer
-     * @param selectionLayer - the ol selection layer
-     * @param [esriLayerName=undefined] - esri layer name
-     */
-    constructor(feature: ol.Feature, layer: LayerEsriMapServer, layerIndex: number, selectionLayer: ol.layer.Vector, esriLayerName?: string);
-    layerName: string;
-}
-/**
- * map popup class
- * @augments MapInteractionBase
- */
-declare class MapPopupCls extends MapInteractionBase {
-    _popupOpen: boolean;
-    _passThroughLayerFeatureArray: Array<FeatureLayerProperties>;
-    _currentPopupIndex: number;
-    _popupContentLength: number;
-    _esriMapServiceLayers: Array<LayerEsriMapServer>;
-    _$popupCloser: JQuery;
-    _$popupContent: JQuery;
-    _$popupContainer: JQuery;
-    _popupOverlay: ol.Overlay;
-    _arrPopupLayers: Array<LayerBaseVector>;
-    _popupCoordinate: ol.Coordinate;
-    _popupChangedFunctions: Array<popupChangedFunction>;
-    _mapClickFunctions: Array<Function>;
-    _selectionLayerLookup: Object;
-    _arrPopupLayerIds: Array<string>;
-    _arrPopupLayerNames: Array<string>;
-    _arrPopupOlLayers: Array<ol.layer.Vector>;
-    _arrPopupContentFunction: Array<popupCallback>;
-    _selectionLayers: Array<ol.layer.Vector>;
-    /**
-     * Definition for openlayers style function
-     * @callback olStyleFunction
-     * &param feature the openlayers vector feature
-     * $param
-     */
-    /**
-     * map popup constructor
-     */
-    constructor();
-    /**
-     * map popup initialization
-     * @param {ol.Map} theMap - the ol map
-     */
-    init(theMap: ol.Map): boolean;
-    /**
-     * helper to select features
-     * @private
-     */
-    _triggerFeatSelect(): void;
-    /**
-     *
-     * @param feature - the ol feature
-     * @param {LayerEsriMapServer} lyr - the map server layer
-     * @param {string} popupContent - popup content
-     * @param {string} esriName - esri layer name
-     */
-    addMapServicePopupContent(feature: ol.Feature, lyr: LayerEsriMapServer, popupContent: string, esriName: string): void;
-    /**
-     *
-     * @param  pixel - the ol pixel
-     * @returns  feature layer properties
-     * @private
-     */
-    _featuresAtPixel(pixel: ol.Pixel): Array<FeatureLayerProperties>;
-    closePopup(): boolean;
-    /**
-     *
-     * @param chgFunction - popup change function
-     */
-    addPopupChangedFunction(chgFunction: popupChangedFunction): void;
-    /**
-     *
-     * @param {LayerBase|*} lyr - the layer being acted on
-     * @param {object} [selectionStyle={}] the selection style configuration
-     * @param {string} [selectionStyle.color=rgba(255,170,0,0.5)] the selection color
-     * @param {number} [selectionStyle.width=10] the selection width for linear features
-     * @param {object|function} [selectionStyle.olStyle=undefined] an openlayers style object or function
-     * @returns  the new selection layer
-     * @private
-     */
-    _addPopupLayer(lyr: any, selectionStyle: any): ol.layer.Vector;
-    /**
-     * Add popup to the map
-     * @param {LayerBase|*} lyr The layer that the popup with act on
-     * @param {popupCallback} popupContentFunction - popup content function that makes popup info
-     * @param {object} [selectionStyle={}] the selection style configuration
-     * @param {string} [selectionStyle.color=rgba(255,170,0,0.5)] the selection color
-     * @param {number} [selectionStyle.width=10] the selection width for linear features
-     * @param {object|function} [selectionStyle.olStyle=undefined] an openlayers style object or function
-     * @returns {object} a reference to the ol selection layer
-     */
-    addVectorPopup(lyr: LayerBaseVector, popupContentFunction: popupCallback, selectionStyle?: ol.style.Style | Array<ol.style.Style> | ol.style.StyleFunction): ol.layer.Vector;
-    /**
-     *
-     * @param {LayerBase} lyr - layer
-     */
-    removeVectorPopup(lyr: any): void;
-    /**
-     *
-     * @param {LayerEsriMapServer} lyr - map server layer
-     * @param {object} [selectionStyle={}] the selection style configuration
-     * @param {string} [selectionStyle.color=rgba(255,170,0,0.5)] the selection color
-     * @param {number} [selectionStyle.width=10] the selection width for linear features
-     * @param {object|function} [selectionStyle.olStyle=undefined] an openlayers style object or function
-     * @returns {object} a reference to the ol selection layer
-     */
-    addMapServicePopup(lyr: any, selectionStyle?: ol.style.Style | Array<ol.style.Style> | ol.style.StyleFunction): ol.layer.Vector;
-    clearSelection(): void;
-    /**
-     * Add a function to be called when the map is clicked but before any popups are implemented
-     * @param {function} func - the map click function
-     */
-    addMapClickFunction(func: Function): void;
-}
-export default MapPopupCls;
diff --git a/lib-ts/olHelpers/mapPopupCls.js b/lib-ts/olHelpers/mapPopupCls.js
deleted file mode 100644
index 24417a3cc338ece201856fe7a25d0a49111c6937..0000000000000000000000000000000000000000
--- a/lib-ts/olHelpers/mapPopupCls.js
+++ /dev/null
@@ -1,415 +0,0 @@
-/// <reference path="../../definitions/jquery.d.ts"/>
-"use strict";
-var __extends = (this && this.__extends) || function (d, b) {
-    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
-    function __() { this.constructor = d; }
-    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-};
-/**
- * Created by gavorhes on 11/3/2015.
- */
-var mapInteractionBase_1 = require('./mapInteractionBase');
-var provide_1 = require('../util/provide');
-var custom_ol_1 = require('custom-ol');
-var $ = require('jquery');
-var nm = provide_1.default('olHelpers');
-var FeatureLayerProperties = (function () {
-    /**
-     *
-     * @param feature the feature
-     * @param layer - the layer in the popup
-     * @param layerIndex - index of the layer
-     * @param selectionLayer - the ol selection layer
-     * @param [esriLayerName=undefined] - esri layer name
-     */
-    function FeatureLayerProperties(feature, layer, layerIndex, selectionLayer, esriLayerName) {
-        this.feature = feature;
-        this.layer = layer;
-        this.layerIndex = layerIndex;
-        this.selectionLayer = selectionLayer;
-        this.popupContent = '';
-        this.esriLayerName = typeof esriLayerName == 'string' ? esriLayerName : undefined;
-    }
-    Object.defineProperty(FeatureLayerProperties.prototype, "layerName", {
-        get: function () {
-            if (typeof this.esriLayerName == 'string') {
-                return this.esriLayerName;
-            }
-            else {
-                return this.layer.name;
-            }
-        },
-        enumerable: true,
-        configurable: true
-    });
-    return FeatureLayerProperties;
-}());
-exports.FeatureLayerProperties = FeatureLayerProperties;
-/**
- * map popup class
- * @augments MapInteractionBase
- */
-var MapPopupCls = (function (_super) {
-    __extends(MapPopupCls, _super);
-    /**
-     * Definition for openlayers style function
-     * @callback olStyleFunction
-     * &param feature the openlayers vector feature
-     * $param
-     */
-    /**
-     * map popup constructor
-     */
-    function MapPopupCls() {
-        _super.call(this, 'map popup');
-        this._arrPopupLayerIds = [];
-        this._arrPopupLayerNames = [];
-        this._arrPopupLayers = [];
-        this._arrPopupOlLayers = [];
-        this._arrPopupContentFunction = [];
-        this._$popupContainer = undefined;
-        this._$popupContent = undefined;
-        this._$popupCloser = undefined;
-        this._popupOverlay = undefined;
-        this._selectionLayers = [];
-        this._selectionLayerLookup = {};
-        this._mapClickFunctions = [];
-        //let a = function($jqueryContent){console.log($jqueryContent)};
-        //this._popupChangedLookup = {'a': a};
-        this._popupChangedFunctions = [];
-        this._esriMapServiceLayers = [];
-        this._popupOpen = false;
-        this._popupCoordinate = null;
-        this._passThroughLayerFeatureArray = [];
-        this._currentPopupIndex = -1;
-        this._popupContentLength = 0;
-    }
-    /**
-     * map popup initialization
-     * @param {ol.Map} theMap - the ol map
-     */
-    MapPopupCls.prototype.init = function (theMap) {
-        var _this = this;
-        _super.prototype.init.call(this, theMap);
-        var $map;
-        var target = this.map.getTarget();
-        if (typeof target == 'string') {
-            $map = $('#' + target);
-        }
-        else {
-            $map = $(target);
-        }
-        $map.append('<div class="ol-popup">' +
-            '<span class="ol-popup-closer">X</span>' +
-            '<div class="popup-content"></div>' +
-            '</div>');
-        this._$popupContainer = $map.find('.ol-popup');
-        this._$popupContent = $map.find('.popup-content');
-        this._$popupCloser = $map.find('.ol-popup-closer');
-        this._popupOverlay = new custom_ol_1.ol.Overlay({ element: this._$popupContainer[0], autoPan: true,
-            autoPanAnimation: {
-                duration: 250,
-                source: theMap.getView().getCenter()
-            } });
-        this._map.addOverlay(this._popupOverlay);
-        this._$popupCloser.click(function (evt) {
-            _this.closePopup();
-        });
-        // display popup on click
-        this._map.on('singleclick', function (evt) {
-            _this.closePopup();
-            _this._popupCoordinate = evt['coordinate'];
-            if (_this._esriMapServiceLayers.length > 0) {
-                var queryParams = {
-                    geometry: evt['coordinate'].join(','),
-                    geometryType: 'esriGeometryPoint',
-                    layers: 'all',
-                    sr: _this._map.getView().getProjection().getCode().split(':')[1],
-                    mapExtent: _this._map.getView().calculateExtent(_this._map.getSize()).join(','),
-                    imageDisplay: _this._map.getSize().join(',') + ',96',
-                    returnGeometry: true,
-                    tolerance: 15,
-                    f: 'pjson'
-                };
-                for (var _i = 0, _a = _this._esriMapServiceLayers; _i < _a.length; _i++) {
-                    var l = _a[_i];
-                    l.getPopupInfo(queryParams);
-                }
-            }
-            var layerFeatureObjectArray = _this._featuresAtPixel(evt['pixel']);
-            _this._passThroughLayerFeatureArray = [];
-            _this._currentPopupIndex = -1;
-            for (var i = 0; i < layerFeatureObjectArray.length; i++) {
-                var featObj = layerFeatureObjectArray[i];
-                var props = featObj.feature.getProperties();
-                var popupContentResponse = _this._arrPopupContentFunction[featObj.layerIndex](props, _this._$popupContent);
-                //skip if return was false
-                if (popupContentResponse === false) {
-                }
-                else if (typeof popupContentResponse == 'string') {
-                    featObj.popupContent = popupContentResponse;
-                    _this._passThroughLayerFeatureArray.push(featObj);
-                }
-                else {
-                    featObj.selectionLayer.getSource().addFeature(featObj.feature);
-                }
-            }
-            _this._popupContentLength = _this._passThroughLayerFeatureArray.length;
-            _this._currentPopupIndex = -1;
-            var popupHtml = '<div class="ol-popup-nav">';
-            popupHtml += '<span class="previous-popup ol-popup-nav-arrow">&#9664;</span>';
-            popupHtml += '<span class="next-popup ol-popup-nav-arrow">&#9654;</span>';
-            popupHtml += "<span class=\"current-popup-item-number\" style=\"font-weight: bold;\"></span>";
-            popupHtml += "<span>&nbsp;of&nbsp;</span>";
-            popupHtml += "<span class=\"popup-content-length\" style=\"font-weight: bold;\">" + _this._popupContentLength + "</span>";
-            popupHtml += "<span>&nbsp;&nbsp;-&nbsp;&nbsp;</span>";
-            popupHtml += "<span class=\"current-popup-layer-name\"></span>";
-            popupHtml += '</div>';
-            popupHtml += '<div class="ol-popup-inner">';
-            popupHtml += '</div>';
-            _this._$popupContent.html(popupHtml);
-            _this._$popupContent.find('.previous-popup').click(function () {
-                if (_this._popupContentLength == 1) {
-                    return;
-                }
-                if (_this._currentPopupIndex == 0) {
-                    _this._currentPopupIndex = _this._popupContentLength - 1;
-                }
-                else {
-                    _this._currentPopupIndex--;
-                }
-                _this._triggerFeatSelect();
-            });
-            var nextPopup = _this._$popupContent.find('.next-popup');
-            nextPopup.click(function () {
-                if (_this._popupContentLength == 1 && _this._currentPopupIndex > -1) {
-                    return;
-                }
-                if (_this._currentPopupIndex == _this._popupContentLength - 1) {
-                    _this._currentPopupIndex = 0;
-                }
-                else {
-                    _this._currentPopupIndex++;
-                }
-                _this._triggerFeatSelect();
-            });
-            if (_this._popupContentLength > 0) {
-                nextPopup.trigger('click');
-                _this._popupOverlay.setPosition(_this._popupCoordinate);
-                _this._$popupContent.scrollTop(0);
-                _this._popupOpen = true;
-            }
-        });
-        //change mouse cursor when over marker
-        this._map.on('pointermove', function (evt) {
-            if (evt['dragging']) {
-                return;
-            }
-            var pixel = _this.map.getEventPixel(evt['originalEvent']);
-            var hit = _this.map.hasFeatureAtPixel(pixel, function (lyrCandidate) {
-                for (var _i = 0, _a = _this._arrPopupOlLayers; _i < _a.length; _i++) {
-                    var olLayer = _a[_i];
-                    if (lyrCandidate == olLayer) {
-                        return true;
-                    }
-                }
-                return false;
-            });
-            _this.map.getTargetElement().style.cursor = hit ? 'pointer' : '';
-        });
-        return true;
-    };
-    /**
-     * helper to select features
-     * @private
-     */
-    MapPopupCls.prototype._triggerFeatSelect = function () {
-        var $currentPopupItemNumber = this._$popupContent.find('.current-popup-item-number');
-        var $innerPopup = this._$popupContent.find('.ol-popup-inner');
-        var $layerNameSpan = this._$popupContent.find('.current-popup-layer-name');
-        this.clearSelection();
-        var lyrFeatObj = this._passThroughLayerFeatureArray[this._currentPopupIndex];
-        $currentPopupItemNumber.html((this._currentPopupIndex + 1).toFixed());
-        $layerNameSpan.html(lyrFeatObj.layerName);
-        $innerPopup.html(lyrFeatObj.popupContent);
-        lyrFeatObj.selectionLayer.getSource().addFeature(lyrFeatObj.feature);
-        for (var _i = 0, _a = this._popupChangedFunctions; _i < _a.length; _i++) {
-            var f = _a[_i];
-            f(this._$popupContent);
-        }
-    };
-    /**
-     *
-     * @param feature - the ol feature
-     * @param {LayerEsriMapServer} lyr - the map server layer
-     * @param {string} popupContent - popup content
-     * @param {string} esriName - esri layer name
-     */
-    MapPopupCls.prototype.addMapServicePopupContent = function (feature, lyr, popupContent, esriName) {
-        var featLayerObject = new FeatureLayerProperties(feature, lyr, this._popupContentLength, this._selectionLayerLookup[lyr.id], esriName);
-        featLayerObject.popupContent = popupContent;
-        this._passThroughLayerFeatureArray.push(featLayerObject);
-        this._popupContentLength++;
-        $('.popup-content-length').html(this._popupContentLength.toFixed());
-        if (!this._popupOpen) {
-            this._$popupContent.find('.next-popup').trigger('click');
-            this._popupOverlay.setPosition(this._popupCoordinate);
-            this._$popupContent.scrollTop(0);
-            this._popupOpen = true;
-        }
-    };
-    /**
-     *
-     * @param  pixel - the ol pixel
-     * @returns  feature layer properties
-     * @private
-     */
-    MapPopupCls.prototype._featuresAtPixel = function (pixel) {
-        var _this = this;
-        var layerFeatureObjectArray = [];
-        this.map.forEachFeatureAtPixel(pixel, function (feature, layer) {
-            var lyrIndex = _this._arrPopupOlLayers.indexOf(layer);
-            //TODO fix this
-            // if (lyrIndex > -1) {
-            //     layerFeatureObjectArray.push(new FeatureLayerProperties(
-            //         feature, this._arrPopupLayers[lyrIndex], lyrIndex, this._selectionLayers[lyrIndex]));
-            // }
-        });
-        return layerFeatureObjectArray;
-    };
-    MapPopupCls.prototype.closePopup = function () {
-        this._checkInit();
-        this._popupOpen = false;
-        this._popupOverlay.setPosition(undefined);
-        this._$popupCloser[0].blur();
-        this.clearSelection();
-        this._$popupContent.html('');
-        return false;
-    };
-    ;
-    /**
-     *
-     * @param chgFunction - popup change function
-     */
-    MapPopupCls.prototype.addPopupChangedFunction = function (chgFunction) {
-        this._popupChangedFunctions.push(chgFunction);
-    };
-    /**
-     *
-     * @param {LayerBase|*} lyr - the layer being acted on
-     * @param {object} [selectionStyle={}] the selection style configuration
-     * @param {string} [selectionStyle.color=rgba(255,170,0,0.5)] the selection color
-     * @param {number} [selectionStyle.width=10] the selection width for linear features
-     * @param {object|function} [selectionStyle.olStyle=undefined] an openlayers style object or function
-     * @returns  the new selection layer
-     * @private
-     */
-    MapPopupCls.prototype._addPopupLayer = function (lyr, selectionStyle) {
-        this._checkInit();
-        selectionStyle = selectionStyle || {};
-        selectionStyle.color = selectionStyle.color || 'rgba(255,170,0,0.5)';
-        selectionStyle.width = selectionStyle.width || 10;
-        var theStyle;
-        if (selectionStyle.olStyle) {
-            theStyle = selectionStyle.olStyle;
-        }
-        else {
-            theStyle = new custom_ol_1.ol.style.Style({
-                stroke: new custom_ol_1.ol.style.Stroke({
-                    color: selectionStyle.color,
-                    width: selectionStyle.width
-                }),
-                image: new custom_ol_1.ol.style.Circle({
-                    radius: 7,
-                    fill: new custom_ol_1.ol.style.Fill({ color: selectionStyle.color }),
-                    stroke: new custom_ol_1.ol.style.Stroke({ color: selectionStyle.color, width: 1 })
-                }),
-                fill: new custom_ol_1.ol.style.Fill({
-                    color: selectionStyle.color
-                })
-            });
-        }
-        var selectionLayer = new custom_ol_1.ol.layer.Vector({
-            source: new custom_ol_1.ol.source.Vector(),
-            style: theStyle,
-            zIndex: 100
-        });
-        this._selectionLayers.push(selectionLayer);
-        this._selectionLayerLookup[lyr.id] = selectionLayer;
-        this.map.addLayer(selectionLayer);
-        return selectionLayer;
-    };
-    /**
-     * Add popup to the map
-     * @param {LayerBase|*} lyr The layer that the popup with act on
-     * @param {popupCallback} popupContentFunction - popup content function that makes popup info
-     * @param {object} [selectionStyle={}] the selection style configuration
-     * @param {string} [selectionStyle.color=rgba(255,170,0,0.5)] the selection color
-     * @param {number} [selectionStyle.width=10] the selection width for linear features
-     * @param {object|function} [selectionStyle.olStyle=undefined] an openlayers style object or function
-     * @returns {object} a reference to the ol selection layer
-     */
-    MapPopupCls.prototype.addVectorPopup = function (lyr, popupContentFunction, selectionStyle) {
-        var selectionLayer = this._addPopupLayer(lyr, selectionStyle);
-        this._arrPopupLayerIds.push(lyr.id);
-        this._arrPopupLayerNames.push(lyr.name);
-        this._arrPopupLayers.push(lyr);
-        this._arrPopupOlLayers.push(lyr.olLayer);
-        this._arrPopupContentFunction.push(popupContentFunction);
-        return selectionLayer;
-    };
-    ;
-    /**
-     *
-     * @param {LayerBase} lyr - layer
-     */
-    MapPopupCls.prototype.removeVectorPopup = function (lyr) {
-        var idx = this._arrPopupLayerIds.indexOf(lyr.id);
-        if (idx > -1) {
-            this._arrPopupLayerIds.splice(idx, 1);
-            this._arrPopupLayerNames.splice(idx, 1);
-            this._arrPopupLayers.splice(idx, 1);
-            this._arrPopupOlLayers.splice(idx, 1);
-            this._arrPopupContentFunction.splice(idx, 1);
-            this._selectionLayers.splice(idx, 1);
-            delete this._selectionLayerLookup[lyr.id];
-        }
-    };
-    /**
-     *
-     * @param {LayerEsriMapServer} lyr - map server layer
-     * @param {object} [selectionStyle={}] the selection style configuration
-     * @param {string} [selectionStyle.color=rgba(255,170,0,0.5)] the selection color
-     * @param {number} [selectionStyle.width=10] the selection width for linear features
-     * @param {object|function} [selectionStyle.olStyle=undefined] an openlayers style object or function
-     * @returns {object} a reference to the ol selection layer
-     */
-    MapPopupCls.prototype.addMapServicePopup = function (lyr, selectionStyle) {
-        var selectionLayer = this._addPopupLayer(lyr, selectionStyle);
-        this._esriMapServiceLayers.push(lyr);
-        return selectionLayer;
-    };
-    MapPopupCls.prototype.clearSelection = function () {
-        this._checkInit();
-        for (var i = 0; i < this._selectionLayers.length; i++) {
-            this._selectionLayers[i].getSource().clear();
-        }
-        for (var _i = 0, _a = this._mapClickFunctions; _i < _a.length; _i++) {
-            var f = _a[_i];
-            f();
-        }
-    };
-    ;
-    /**
-     * Add a function to be called when the map is clicked but before any popups are implemented
-     * @param {function} func - the map click function
-     */
-    MapPopupCls.prototype.addMapClickFunction = function (func) {
-        this._mapClickFunctions.push(func);
-    };
-    return MapPopupCls;
-}(mapInteractionBase_1.default));
-nm.MapPopupCls = MapPopupCls;
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.default = MapPopupCls;
-//# sourceMappingURL=mapPopupCls.js.map
\ No newline at end of file
diff --git a/lib-ts/olHelpers/mapPopupCls.js.map b/lib-ts/olHelpers/mapPopupCls.js.map
deleted file mode 100644
index 91532bd4441c1b36d8799f32448ebe75d42065a9..0000000000000000000000000000000000000000
--- a/lib-ts/olHelpers/mapPopupCls.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"mapPopupCls.js","sourceRoot":"","sources":["../../src-ts/olHelpers/mapPopupCls.ts"],"names":[],"mappings":"AAAA,qDAAqD;;;;;;;AAErD;;GAEG;AAEH,mCAA+B,sBAAsB,CAAC,CAAA;AAEtD,wBAAoB,iBAAiB,CAAC,CAAA;AACtC,0BAAiB,WAAW,CAAC,CAAA;AAI7B,IAAM,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AAE5B,IAAM,EAAE,GAAG,iBAAO,CAAC,WAAW,CAAC,CAAC;AA0BhC;IASI;;;;;;;OAOG;IACH,gCAAY,OAAmB,EAAE,KAAyB,EAAE,UAAkB,EAAE,cAA+B,EAAE,aAAsB;QACnI,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC;QACvB,IAAI,CAAC,aAAa,GAAG,OAAO,aAAa,IAAI,QAAQ,GAAG,aAAa,GAAG,SAAS,CAAC;IACtF,CAAC;IAED,sBAAI,6CAAS;aAAb;YACI,EAAE,CAAC,CAAC,OAAO,IAAI,CAAC,aAAa,IAAI,QAAQ,CAAC,CAAC,CAAC;gBACxC,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC;YAC9B,CAAC;YAAC,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AAC,kBAAkB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACvC,CAAC;IACL,kBAAC;AAAD,CAAC,AA9bD,CAA0B,4BAAkB,GA8b3C;AACD,EAAE,CAAC,WAAW,GAAG,WAAW,CAAC;AAC7B;kBAAe,WAAW,CAAC"}
\ No newline at end of file
diff --git a/lib-ts/olHelpers/propertiesZoomStyle.d.ts b/lib-ts/olHelpers/propertiesZoomStyle.d.ts
deleted file mode 100644
index 3fdc6943aa8edd62f7f7610403efd17efce20088..0000000000000000000000000000000000000000
--- a/lib-ts/olHelpers/propertiesZoomStyle.d.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-import { ol } from 'custom-ol';
-/**
- * A style function based on properties and zoom level, wraps normal feature, resolution function
- * @callback propertiesZoomStyle
- * @param {object} properties the feature properties
- * @param {number} zoom level
- *
- */
-/**
- * wrapper to define a style function by properties and zoom level
- * @param {propertiesZoomStyle|*} styleFunc - style function
- * @returns {function|*} new function
- */
-declare function propertiesZoomStyle(styleFunc: any): (feature: ol.Feature, resolution: any) => void;
-export default propertiesZoomStyle;
diff --git a/lib-ts/olHelpers/propertiesZoomStyle.js b/lib-ts/olHelpers/propertiesZoomStyle.js
deleted file mode 100644
index 8862ccc84b7dc80ed1d47d8ab2448dcf91be20cd..0000000000000000000000000000000000000000
--- a/lib-ts/olHelpers/propertiesZoomStyle.js
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
- * Created by gavorhes on 12/14/2015.
- */
-"use strict";
-var provide_1 = require('../util/provide');
-var zoomResolutionConvert = require('./zoomResolutionConvert');
-var nm = provide_1.default('olHelpers');
-/**
- * A style function based on properties and zoom level, wraps normal feature, resolution function
- * @callback propertiesZoomStyle
- * @param {object} properties the feature properties
- * @param {number} zoom level
- *
- */
-/**
- * wrapper to define a style function by properties and zoom level
- * @param {propertiesZoomStyle|*} styleFunc - style function
- * @returns {function|*} new function
- */
-function propertiesZoomStyle(styleFunc) {
-    if (styleFunc == undefined) {
-        return undefined;
-    }
-    return function (feature, resolution) {
-        styleFunc(feature.getProperties(), zoomResolutionConvert.resolutionToZoom(resolution));
-    };
-}
-nm.propertiesZoomStyle = propertiesZoomStyle;
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.default = propertiesZoomStyle;
-//# sourceMappingURL=propertiesZoomStyle.js.map
\ No newline at end of file
diff --git a/lib-ts/olHelpers/propertiesZoomStyle.js.map b/lib-ts/olHelpers/propertiesZoomStyle.js.map
deleted file mode 100644
index 3c0657750789646db24f3e5b02c0dc140e4fc3f2..0000000000000000000000000000000000000000
--- a/lib-ts/olHelpers/propertiesZoomStyle.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"propertiesZoomStyle.js","sourceRoot":"","sources":["../../src-ts/olHelpers/propertiesZoomStyle.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,wBAAoB,iBAAiB,CAAC,CAAA;AACtC,IAAY,qBAAqB,WAAM,yBAAyB,CAAC,CAAA;AAEjE,IAAM,EAAE,GAAG,iBAAO,CAAC,WAAW,CAAC,CAAC;AAGhC;;;;;;GAMG;AAEH;;;;GAIG;AACH,6BAA6B,SAAS;IAClC,EAAE,CAAC,CAAC,SAAS,IAAI,SAAS,CAAC,CAAA,CAAC;QACxB,MAAM,CAAC,SAAS,CAAC;IACrB,CAAC;IAED,MAAM,CAAC,UAAU,OAAmB,EAAE,UAAU;QAC5C,SAAS,CAAC,OAAO,CAAC,aAAa,EAAE,EAAE,qBAAqB,CAAC,gBAAgB,CAAC,UAAU,CAAC,CAAC,CAAC;IAC3F,CAAC,CAAC;AACN,CAAC;AAED,EAAE,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;AAC7C;kBAAe,mBAAmB,CAAC"}
\ No newline at end of file
diff --git a/lib-ts/olHelpers/quickMap.d.ts b/lib-ts/olHelpers/quickMap.d.ts
deleted file mode 100644
index 5268c2460fd91dcb37efc863913cfcaff3511c98..0000000000000000000000000000000000000000
--- a/lib-ts/olHelpers/quickMap.d.ts
+++ /dev/null
@@ -1,23 +0,0 @@
-/**
- * Created by gavorhes on 12/15/2015.
- */
-import { quickMapOptions } from './quickMapBase';
-import { ol } from 'custom-ol';
-/**
- * Sets up a map with some default parameters and initializes
- * mapMove and mapPopup
- *
- * @param {object} [options={}] config options
- * @param {string} [options.divId=map] map div id
- * @param {object} [options.center={}] center config object
- * @param {number} [options.center.x=-10018378] center x, web mercator x or lon
- * @param {number} [options.center.y=5574910] center y, web mercator y or lat
- * @param {number} [options.zoom=7] zoom level
- * @param {number} [options.minZoom=undefined] min zoom
- * @param {number} [options.maxZoom=undefined] max zoom
- * @param {boolean} [options.baseSwitcher=true] if add base map switcher
- * @param {boolean} [options.fullScreen=false] if add base map switcher
- * @returns the ol map
- */
-export declare function quickMap(options?: quickMapOptions): ol.Map;
-export default quickMap;
diff --git a/lib-ts/olHelpers/quickMap.js b/lib-ts/olHelpers/quickMap.js
deleted file mode 100644
index 73431033249b1d32b5255597adb323c6128a6e94..0000000000000000000000000000000000000000
--- a/lib-ts/olHelpers/quickMap.js
+++ /dev/null
@@ -1,36 +0,0 @@
-/**
- * Created by gavorhes on 12/15/2015.
- */
-"use strict";
-var quickMapBase_1 = require('./quickMapBase');
-var provide_1 = require('../util/provide');
-var mapMove_1 = require('./mapMove');
-var mapPopup_1 = require('./mapPopup');
-var nm = provide_1.default('olHelpers');
-/**
- * Sets up a map with some default parameters and initializes
- * mapMove and mapPopup
- *
- * @param {object} [options={}] config options
- * @param {string} [options.divId=map] map div id
- * @param {object} [options.center={}] center config object
- * @param {number} [options.center.x=-10018378] center x, web mercator x or lon
- * @param {number} [options.center.y=5574910] center y, web mercator y or lat
- * @param {number} [options.zoom=7] zoom level
- * @param {number} [options.minZoom=undefined] min zoom
- * @param {number} [options.maxZoom=undefined] max zoom
- * @param {boolean} [options.baseSwitcher=true] if add base map switcher
- * @param {boolean} [options.fullScreen=false] if add base map switcher
- * @returns the ol map
- */
-function quickMap(options) {
-    var m = quickMapBase_1.quickMapBase(options);
-    mapMove_1.default.init(m);
-    mapPopup_1.default.init(m);
-    return m;
-}
-exports.quickMap = quickMap;
-nm.quickMap = quickMap;
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.default = quickMap;
-//# sourceMappingURL=quickMap.js.map
\ No newline at end of file
diff --git a/lib-ts/olHelpers/quickMap.js.map b/lib-ts/olHelpers/quickMap.js.map
deleted file mode 100644
index dcbd5831e4bee64747c4ebe4350402e2304bc9b3..0000000000000000000000000000000000000000
--- a/lib-ts/olHelpers/quickMap.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"quickMap.js","sourceRoot":"","sources":["../../src-ts/olHelpers/quickMap.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,6BAA4C,gBAAgB,CAAC,CAAA;AAC7D,wBAAoB,iBAAiB,CAAC,CAAA;AACtC,wBAAoB,WAAW,CAAC,CAAA;AAChC,yBAAqB,YAAY,CAAC,CAAA;AAClC,IAAI,EAAE,GAAG,iBAAO,CAAC,WAAW,CAAC,CAAC;AAG9B;;;;;;;;;;;;;;;GAeG;AACH,kBAAyB,OAA0B;IAC/C,IAAI,CAAC,GAAG,2BAAY,CAAC,OAAO,CAAC,CAAC;IAC9B,iBAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAChB,kBAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAEjB,MAAM,CAAC,CAAC,CAAC;AACb,CAAC;AANe,gBAAQ,WAMvB,CAAA;AAGD,EAAE,CAAC,QAAQ,GAAG,QAAQ,CAAC;AACvB;kBAAe,QAAQ,CAAC"}
\ No newline at end of file
diff --git a/lib-ts/olHelpers/quickMapBase.d.ts b/lib-ts/olHelpers/quickMapBase.d.ts
deleted file mode 100644
index e72054bc6791be5f8195635ece3d1297d998b888..0000000000000000000000000000000000000000
--- a/lib-ts/olHelpers/quickMapBase.d.ts
+++ /dev/null
@@ -1,31 +0,0 @@
-import { ol } from 'custom-ol';
-export interface quickMapOptions {
-    divId?: string;
-    center?: {
-        x: number;
-        y: number;
-    };
-    zoom?: number;
-    minZoom?: number;
-    maxZoom?: number;
-    baseSwitcher?: boolean;
-    fullScreen?: boolean;
-}
-/**
- * Sets up a map with some default parameters and initializes
- * mapMove and mapPopup
- *
- * @param [options={}] config options
- * @param [options.divId=map] map div id
- * @param [options.center={}] center config object
- * @param [options.center.x=-10018378] center x, web mercator x or lon
- * @param [options.center.y=5574910] center y, web mercator y or lat
- * @param [options.zoom=7] zoom level
- * @param [options.minZoom=undefined] min zoom
- * @param [options.maxZoom=undefined] max zoom
- * @param [options.baseSwitcher=true] if add base map switcher
- * @param [options.fullScreen=false] if add base map switcher
- * @returns the ol map
- */
-export declare function quickMapBase(options?: quickMapOptions): ol.Map;
-export default quickMapBase;
diff --git a/lib-ts/olHelpers/quickMapBase.js b/lib-ts/olHelpers/quickMapBase.js
deleted file mode 100644
index 9bfea03093ea1679aadd133f922b435cd91f0067..0000000000000000000000000000000000000000
--- a/lib-ts/olHelpers/quickMapBase.js
+++ /dev/null
@@ -1,74 +0,0 @@
-/**
- * Created by gavorhes on 12/15/2015.
- */
-"use strict";
-var $ = require('jquery');
-var provide_1 = require('../util/provide');
-var custom_ol_1 = require('custom-ol');
-var nm = provide_1.default('olHelpers');
-/**
- * Sets up a map with some default parameters and initializes
- * mapMove and mapPopup
- *
- * @param [options={}] config options
- * @param [options.divId=map] map div id
- * @param [options.center={}] center config object
- * @param [options.center.x=-10018378] center x, web mercator x or lon
- * @param [options.center.y=5574910] center y, web mercator y or lat
- * @param [options.zoom=7] zoom level
- * @param [options.minZoom=undefined] min zoom
- * @param [options.maxZoom=undefined] max zoom
- * @param [options.baseSwitcher=true] if add base map switcher
- * @param [options.fullScreen=false] if add base map switcher
- * @returns the ol map
- */
-function quickMapBase(options) {
-    options = options || {};
-    options.divId = options.divId || 'map';
-    options.center = options.center || { x: -10018378, y: 5574910 };
-    options.zoom = typeof options.zoom == 'number' ? options.zoom : 7;
-    options.baseSwitcher = typeof options.baseSwitcher == 'boolean' ? options.baseSwitcher : true;
-    options.fullScreen = typeof options.fullScreen == 'boolean' ? options.fullScreen : false;
-    var $mapDiv = $('#' + options.divId);
-    $mapDiv.css('position', 'relative');
-    var osmLayer = new custom_ol_1.ol.layer.Tile({ source: new custom_ol_1.ol.source.OSM() });
-    // let satLayer = new ol.layer.Tile({visible: false, source: new ol.source.MapQuest({layer: 'sat'})});
-    var osmCss = "url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAMAUExURQAAADQ1NDk5OURFREtLS1FHSFlZWGJRVGJiYWdmZWxsbHRmaXBpanN0c3V0dHp5eX5+fIVzd4F3eeV0jud5juZ8k4aHhomHhoyGh5eGj5OVlJiVlZiYl5qZmJydnKOTlaKZmqKdnaOioaqqqKuzsbOvrrSysLa3tbW4uLm6ub27ub+/vbGXwbCZwbCgxLKlxrOqyLStybO3yrSxyrWzzbW2y7a1zbK4y7W6zbW8y760yrTAzbTFzrPKzrLOzrTJzrTOzr7CwbXC0LXK0LTO0L3I0bPQz7TQz7PS0bXQ0LnR0brW1bzT0r7U077V1Lzc2dqNqteUsdyXscaquuOHneaGmueHnOeJnuiBleiKn+eNoOiOoOWUpOiRo+iSpeiUpeqYpumaqOmdrPSynemgruSqtOmisOmlsuuqtequuOW1vOuxu+uxvOq1ve+xvPK0pvW3o/W5pfO5qvS7qfCwvMOuwc2/wNenxNyyzNe/0Nq31Nq51dy72Oy3wOu4wOu+xey4wO+6xO2+xfTAr/TCsvfFtPHLvvTJuMPDwMfHxcXKyc3DxMvFyMvLyM3PzcDV08DV1MTX1cbY1s7X1sjZ1sra2Mnd3M7b2c7c2tfH1tnB1t7F2d7M29fX1tLY1tDd2tHe3NTf3NnS19rZ1tva2Nnf3t3d28rh3tXg3Nnh3tzj393k39ni4N7k4N7n5uXDyOfLz+zAxu3CyOzEyezKzeDJ3eLM3uvP0u3P0ePf2+7R0u7Q1u/U0+7U1ezc0+7a2e/d2+3f3vbFzvLOwfHN0PPQw/TUx/LWyvLYzPDQ1fPe0ubc4vve4uHh3+nh3+/h2u/h3vHj2vHl3uHm4eTn4uDp5ebo4+Xo5ODq6ebq6OTv6+nl4+/j4O7l4e7n5ujp4+np5Ozq5e7s5urt6O7t6Orw6u7x6u3x7vPj5PDl4fDo4vDq5fDt5vDu6PDv7PTv6fDx6vHx7fH17fXw6fXy7fb07/bz8fT18vn38vr39fr48/r59Pr6+P3++//+/gAAALNTSk0AAAEAdFJOU////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wBT9wclAAAACXBIWXMAAA7DAAAOwwHHb6hkAAAAGHRFWHRTb2Z0d2FyZQBwYWludC5uZXQgNC4wLjlsM35OAAAFNElEQVRIS1VVCZxVUxi/9l0UIUT2bMnY43bVI2c0Y01kSWIaS0j2JEtkN41piomZrPPKQ2aQ7JKImOZlnm2493TJzDufuU1Zi+v/fee+mZ//793vnPOd7zvfes5zDBEZkBBjAcIjb+Iiotqgdhat8AMK0vl7/R9N7GiWtshqIr+EZ5gYKibyUsXY1l/mfFpssvUlWQ0FkU3gy4+RB/+kwYcO8pRSnldcOU/r2lAHARSwk2ORgEmOdC1EsuRiYSqMPwwroMIraZk5V2fYJQjCKfZrRmh3gSAZi2i4b7wSylWu8EqZwS59JkFUaW96JbNSc+CEUmt4rorwuZmWdDaoc+uZETuQlTCU5xYzR7muUnVUVo+BcRhre/VwUpasgJwhH7JkYIYA0sNxhmCwUK+lw6vCKBZehw01dEiyw4Q4aE0Z4ahDhKaFQsGnJ2BgqKoTBsNjFy0SlW6whRAZTdm8DBJmkBZhDi1j4xJQBk6ywrWUTymaCxac8lROcdauRGzQSNtA7EHUYhXyEwhhgjFUqRuO+rauhF1awFpzCsmwUbjIFBR0u1bKtyGpulW/H/cVVzkyGaIWTIR9pFAV6GK2gPMXMX8gP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VnFxTXF4T3h0TnJzUnJ1XHJ4VXN6Wnp0VHx1W315VXp8XGR0YGx0YHVzZXJ0aHR9ZXV+aHl9YHOCXXqBXXeCYHyCY3iEaHyIYn+JaXqKcYB5WIN6Y4SCXoCDZIGEaYCIZoOLa4iCaImJbIOOdYuMco6OeIuVcpOKbZKPc5aQb5eXe5ufg6KjhAAAAAAAAAAAAAAAAOGCeQgAAAEAdFJOU////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wBT9wclAAAACXBIWXMAAA7DAAAOwwHHb6hkAAAAGHRFWHRTb2Z0d2FyZQBwYWludC5uZXQgNC4wLjlsM35OAAAH80lEQVRISy1WbXQUVxm+6wqnk3Zmpxl2FG2EGg92C8GDlWptVTwa+uF3xcKmDfFzCUzDsJNsunXipglJXJbrtJWmwZNSnHD3jojRgUIm2UumIZ0JZ7JByrALbMWW0IBW8aRa4+cf76TeX3Nm3uc+z/s+7/vugl4r/aMTrT4e1pPTqnnmJNn5AyUzRnrRle/qE33dsvrBtAQVoxtpZNK3zSzYjUjviWO2Ag+R77dl7W36n/1Ep9KBPG/S+Py0PkjU/gPKQGqwTHryiWYFAXSvMairsio7SjyNsnCzh0qKImV9/7mhfHQZx2yN1O+7rXUm33MUPaboOkAJHaoIdXfJj2xWeyD8jMFEXkvIu5qzpU988gWB5zl+GS+sFe55trEVPdWZB2miq8bBVkNFO2R0qnrfkiXhcJhtDNXE6tbW97/s9O9/7ZfVhx86/CwrROpfvvxboMqeLsuqPr1j44qEwDNMOBximUiYoU8sw7BC/a7T72uEnyJDlGxZ9KcglZRyuqqrv/tSZErgOI4NgRBTIw9EmHAoFGZZnp6aGaJ2GTxfxYs8kKVUQh7WB5hQeC3LsUxoxVKW14l3BX2WcoUYPiZyLLe8teZ+iuT4GGhvV5KpKWkpyzxEr2MZgQ1xdRjfRBoH+2k6lIHjKTHPPBo8CSJISqqq4wGGO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qpwXG2MHlGsQ4S8pMJZv1JGmHiEoHQDdOjwmVlEP/nE9ADKjI8xLI0OOGITfy0SbeG/C2jKUDGSlDhM9I3IpK9iup6XnbRNC7yqueNsJCCIiXzdQhnaGN+46umnEdy5U5UbUJ48LFM9GkJo8BdDOiAZ7ZIQbKhYLMqvhU2wmNxjEAsS2AI7y4nWF64duePbk7YV3zvAVLEMD9AxJRNa3KDUibV7DjnkuprMEYjScFNcaR2ceP2u9R/5k1052Ryme5phAFRswlHjAudiP4dOy7CaxLgdJh9vUlU1702/+LPa1U9fvPi9qlA4XEUBJc3dFlpsR457IDl1iPqLp7o81NQgyV19iYU38uTiv975Pd3SiwQcsGjx+v4/6fl5T7EOOMTCtpbKxfemsQq/3olQZcminADAAI0cuGLHaHOFxbuGvRk/Z9u7CULqoVR6NE0yx1avj30oRhc/jWUoIALGxkz0dg1Dl9iaI7LqOOXKsXJFwjiuEAi70Jra2nW1PL08zLBhZsMABpW5csI7TPfew9ipFKcn5k1i+1KyCWKjC3W/8dF1d666+RaabBVTFTHacjoojBNDh0NDxk+IPTlwfqJkWpbnpFHXIbLbmpxEQ3ff/Z0g/mauXsoln9wDRjy/NHsQFw3P6vWuTJ43/+FZrk2cvAFRipCKdfD9y2+pjRj78s0KdCUDKJvdV91ChngV38T20TM+gghjpJaPlpFr2xbEz5g4A/NGt5rNwdwmYGeeeMXBSLHHUIc+6RsojRH9VTUm3/mLf/64b470XvoxoTKhlMBQ2jMEzo2PjxdGMppmn1RM24bWFJqaQv4BcuJa2Sam7Zokq1ldCsz06NCBHrhwqVQYpfFj42NZexz1EW9SR/kT58nEeQKJb2fPXjjp0u/YUkwHEgLeOnf2nOuf1TRTM02CLKLTPy60/x1CCztqn7Ev+BdsC3m+30decQvW/wBNTwU+CfUQAQAAAABJRU5ErkJggg==')";
-    if (options.baseSwitcher) {
-    }
-    if (options.zoom < 0 || options.zoom > 28) {
-        throw 'zoom out of range';
-    }
-    if (options.center.x >= -180 && options.center.x <= 180 && options.center.y >= -90 && options.center.y <= 90) {
-        var p = new custom_ol_1.ol.geom.Point([options.center.x, options.center.y]);
-        new custom_ol_1.ol.proj.Projection({ code: "EPSG:4326" });
-        p.transform(new custom_ol_1.ol.proj.Projection({ code: "EPSG:4326" }), new custom_ol_1.ol.proj.Projection({ code: "EPSG:3857" }));
-        var coordinates = p.getCoordinates();
-        options.center.x = coordinates[0];
-        options.center.y = coordinates[1];
-    }
-    var map = new custom_ol_1.ol.Map({
-        layers: [osmLayer],
-        target: options.divId,
-        controls: custom_ol_1.ol.control.defaults({
-            attributionOptions: { collapsible: false }
-        }),
-        view: new custom_ol_1.ol.View({
-            center: [options.center.x, options.center.y],
-            zoom: options.zoom,
-            minZoom: options.minZoom,
-            maxZoom: options.maxZoom
-        })
-    });
-    if (options.fullScreen) {
-        //TODO add full screen options to ts
-        map.addControl(new custom_ol_1.ol.control.FullScreen({}));
-    }
-    return map;
-}
-exports.quickMapBase = quickMapBase;
-nm.quickMapBase = quickMapBase;
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.default = quickMapBase;
-//# sourceMappingURL=quickMapBase.js.map
\ No newline at end of file
diff --git a/lib-ts/olHelpers/quickMapBase.js.map b/lib-ts/olHelpers/quickMapBase.js.map
deleted file mode 100644
index db811da8cbd2611131bab6ee0da5f5d42cb09c30..0000000000000000000000000000000000000000
--- a/lib-ts/olHelpers/quickMapBase.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"quickMapBase.js","sourceRoot":"","sources":["../../src-ts/olHelpers/quickMapBase.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,IAAM,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AAC5B,wBAAoB,iBAAiB,CAAC,CAAA;AACtC,0BAAiB,WAAW,CAAC,CAAA;AAC7B,IAAM,EAAE,GAAG,iBAAO,CAAC,WAAW,CAAC,CAAC;AAahC;;;;;;;;;;;;;;;GAeG;AACH,sBAA6B,OAAyB;IAClD,OAAO,GAAG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,OAAO,CAAC,IAAI;YAClB,OAAO,EAAE,OAAO,CAAC,OAAO;YACxB,OAAO,EAAE,OAAO,CAAC,OAAO;SAC3B,CAAC;KACL,CAAC,CAAC;IAEH,EAAE,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;QACrB,oCAAoC;QACpC,GAAG,CAAC,UAAU,CAAC,IAAI,cAAE,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC;IAClD,CAAC;IAED,MAAM,CAAC,GAAG,CAAC;AACf,CAAC;AAxEe,oBAAY,eAwE3B,CAAA;AAED,EAAE,CAAC,YAAY,GAAG,YAAY,CAAC;AAC/B;kBAAe,YAAY,CAAC"}
\ No newline at end of file
diff --git a/lib-ts/olHelpers/zoomResolutionConvert.d.ts b/lib-ts/olHelpers/zoomResolutionConvert.d.ts
deleted file mode 100644
index a0814c97e2d920a2710dae3ebd28936c305ddeec..0000000000000000000000000000000000000000
--- a/lib-ts/olHelpers/zoomResolutionConvert.d.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * Get the resolution given the zoom level
- * @param {number} zoomLevel - the zoom level
- * @returns {number|*} the map resolution
- */
-export declare function zoomToResolution(zoomLevel: any): number;
-/**
- * Get resolution from the zoom level
- * @param {number} resolution - the resolution
- * @returns {number|*} the zoom level
- */
-export declare function resolutionToZoom(resolution: any): number;
diff --git a/lib-ts/olHelpers/zoomResolutionConvert.js b/lib-ts/olHelpers/zoomResolutionConvert.js
deleted file mode 100644
index d4786ca759ebbf17525021393ca790e23a9c8d97..0000000000000000000000000000000000000000
--- a/lib-ts/olHelpers/zoomResolutionConvert.js
+++ /dev/null
@@ -1,75 +0,0 @@
-/**
- * Created by gavorhes on 12/14/2015.
- */
-"use strict";
-var provide_1 = require('../util/provide');
-var nm = provide_1.default('olHelpers.zoomResolutionConvert');
-var _zoomResLookup = [
-    156543.03392804097,
-    78271.51696402048,
-    39135.75848201024,
-    19567.87924100512,
-    9783.93962050256,
-    4891.96981025128,
-    2445.98490512564,
-    1222.99245256282,
-    611.49622628141,
-    305.748113140705,
-    152.8740565703525,
-    76.43702828517625,
-    38.21851414258813,
-    19.109257071294063,
-    9.554628535647032,
-    4.777314267823516,
-    2.388657133911758,
-    1.194328566955879,
-    0.5971642834779395,
-    0.29858214173896974,
-    0.14929107086948487,
-    0.07464553543474244,
-    0.03732276771737122,
-    0.01866138385868561,
-    0.009330691929342804,
-    0.004665345964671402,
-    0.002332672982335701,
-    0.0011663364911678506,
-    0.0005831682455839253 //28
-];
-/**
- * Get the resolution given the zoom level
- * @param {number} zoomLevel - the zoom level
- * @returns {number|*} the map resolution
- */
-function zoomToResolution(zoomLevel) {
-    "use strict";
-    if (typeof zoomLevel == 'number') {
-        if (zoomLevel % 1 === 0 && zoomLevel >= 0 && zoomLevel <= 28) {
-            return _zoomResLookup[zoomLevel];
-        }
-        else {
-            console.log("invalid zoom level provided: " + zoomLevel);
-            return undefined;
-        }
-    }
-    else {
-        return undefined;
-    }
-}
-exports.zoomToResolution = zoomToResolution;
-nm.zoomToResolution = zoomToResolution;
-/**
- * Get resolution from the zoom level
- * @param {number} resolution - the resolution
- * @returns {number|*} the zoom level
- */
-function resolutionToZoom(resolution) {
-    for (var i = 0; i < _zoomResLookup.length; i++) {
-        if (resolution >= _zoomResLookup[i]) {
-            return i;
-        }
-    }
-    return 0;
-}
-exports.resolutionToZoom = resolutionToZoom;
-nm.resolutionToZoom = resolutionToZoom;
-//# sourceMappingURL=zoomResolutionConvert.js.map
\ No newline at end of file
diff --git a/lib-ts/olHelpers/zoomResolutionConvert.js.map b/lib-ts/olHelpers/zoomResolutionConvert.js.map
deleted file mode 100644
index fabd0840604a8744e0b2cba0fbc690a95e093858..0000000000000000000000000000000000000000
--- a/lib-ts/olHelpers/zoomResolutionConvert.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"zoomResolutionConvert.js","sourceRoot":"","sources":["../../src-ts/olHelpers/zoomResolutionConvert.ts"],"names":[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AI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,cAAc,CAAC,MAAM,EAAE,CAAC,EAAE,EAAC,CAAC;QAC5C,EAAE,CAAC,CAAC,UAAU,IAAI,cAAc,CAAC,CAAC,CAAE,CAAC,CAAA,CAAC;YAClC,MAAM,CAAC,CAAC,CAAC;QACb,CAAC;IACL,CAAC;IAED,MAAM,CAAC,CAAC,CAAC;AACb,CAAC;AARe,wBAAgB,mBAQ/B,CAAA;AAED,EAAE,CAAC,gBAAgB,GAAG,gBAAgB,CAAC"}
\ No newline at end of file
diff --git a/lib-ts/util/_index.d.ts b/lib-ts/util/_index.d.ts
deleted file mode 100644
index 3bf6130661c7defd310cdb28d6a5ec14b5a80e19..0000000000000000000000000000000000000000
--- a/lib-ts/util/_index.d.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Created by gavorhes on 9/22/2016.
- */
-import * as checkDefinedf from './checkDefined';
-export declare namespace checkDefined {
-    const undefinedOrNull: typeof checkDefinedf.undefinedOrNull;
-    const definedAndNotNull: typeof checkDefinedf.definedAndNotNull;
-}
diff --git a/lib-ts/util/_index.js b/lib-ts/util/_index.js
deleted file mode 100644
index 893b790fb79ff3ea1cf0af84fc5ac77d739b0374..0000000000000000000000000000000000000000
--- a/lib-ts/util/_index.js
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Created by gavorhes on 9/22/2016.
- */
-"use strict";
-var checkDefinedf = require('./checkDefined');
-var checkDefined;
-(function (checkDefined) {
-    checkDefined.undefinedOrNull = checkDefinedf.undefinedOrNull;
-    checkDefined.definedAndNotNull = checkDefinedf.definedAndNotNull;
-})(checkDefined = exports.checkDefined || (exports.checkDefined = {}));
-//# sourceMappingURL=_index.js.map
\ No newline at end of file
diff --git a/lib-ts/util/_index.js.map b/lib-ts/util/_index.js.map
deleted file mode 100644
index aeec6565ea72020fde00374a8c37d9b0d9cf285a..0000000000000000000000000000000000000000
--- a/lib-ts/util/_index.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"_index.js","sourceRoot":"","sources":["../../src-ts/util/_index.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,IAAY,aAAa,WAAM,gBAAgB,CAAC,CAAA;AAGhD,IAAiB,YAAY,CAG5B;AAHD,WAAiB,YAAY,EAAC,CAAC;IACd,4BAAe,GAAG,aAAa,CAAC,eAAe,CAAC;IAChD,8BAAiB,GAAG,aAAa,CAAC,iBAAiB,CAAC;AACrE,CAAC,EAHgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAG5B"}
\ No newline at end of file
diff --git a/lib-ts/util/checkDefined.d.ts b/lib-ts/util/checkDefined.d.ts
deleted file mode 100644
index c116a08d41d227ff03a6b8a7396548d785f95f21..0000000000000000000000000000000000000000
--- a/lib-ts/util/checkDefined.d.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * check if the input is undefined or null
- * @param input - input pointer
- * @returns true undefined or null
- */
-export declare function undefinedOrNull(input: any): boolean;
-/**
- * check if the input is defined and not null
- * @param input - input pointer
- * @returns true defined and not null
- */
-export declare function definedAndNotNull(input: any): boolean;
diff --git a/lib-ts/util/checkDefined.js b/lib-ts/util/checkDefined.js
deleted file mode 100644
index 09109c7d5e39b69e7a8b25c1ff4351d7ad88c242..0000000000000000000000000000000000000000
--- a/lib-ts/util/checkDefined.js
+++ /dev/null
@@ -1,26 +0,0 @@
-"use strict";
-var provide_1 = require('./provide');
-var nm = provide_1.default('util.checkDefined');
-/**
- * check if the input is undefined or null
- * @param input - input pointer
- * @returns true undefined or null
- */
-function undefinedOrNull(input) {
-    "use strict";
-    return (typeof input === 'undefined' || input === null);
-}
-exports.undefinedOrNull = undefinedOrNull;
-nm.undefinedOrNull = undefinedOrNull;
-/**
- * check if the input is defined and not null
- * @param input - input pointer
- * @returns true defined and not null
- */
-function definedAndNotNull(input) {
-    "use strict";
-    return !(undefinedOrNull(input));
-}
-exports.definedAndNotNull = definedAndNotNull;
-nm.definedAndNotNull = definedAndNotNull;
-//# sourceMappingURL=checkDefined.js.map
\ No newline at end of file
diff --git a/lib-ts/util/checkDefined.js.map b/lib-ts/util/checkDefined.js.map
deleted file mode 100644
index 114ab5ecbe44301e2deacc85ecb1c0eb57036eee..0000000000000000000000000000000000000000
--- a/lib-ts/util/checkDefined.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"checkDefined.js","sourceRoot":"","sources":["../../src-ts/util/checkDefined.ts"],"names":[],"mappings":";AAAA,wBAAoB,WAAW,CAAC,CAAA;AAChC,IAAI,EAAE,GAAG,iBAAO,CAAC,mBAAmB,CAAC,CAAC;AAEtC;;;;GAIG;AACH,yBAAiC,KAAK;IAClC,YAAY,CAAC;IAEb,MAAM,CAAC,CAAC,OAAO,KAAK,KAAK,WAAW,IAAI,KAAK,KAAK,IAAI,CAAC,CAAC;AAC5D,CAAC;AAJe,uBAAe,kBAI9B,CAAA;AAED,EAAE,CAAC,eAAe,GAAG,eAAe,CAAC;AAGrC;;;;GAIG;AACH,2BAAmC,KAAU;IACzC,YAAY,CAAC;IAEb,MAAM,CAAC,CAAC,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC;AACrC,CAAC;AAJe,yBAAiB,oBAIhC,CAAA;AAED,EAAE,CAAC,iBAAiB,GAAG,iBAAiB,CAAC"}
\ No newline at end of file
diff --git a/lib-ts/util/colors.d.ts b/lib-ts/util/colors.d.ts
deleted file mode 100644
index 3de4c8d86dc7eb0b44ae12dad0485d4711eaaa93..0000000000000000000000000000000000000000
--- a/lib-ts/util/colors.d.ts
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
- * converts an RGB string to hex
- * @param {string} rgb - rgb color
- * @returns {string} rbg as hex
- */
-export declare function rgb2hex(rgb: any): string;
-/**
- * Convert hex string to RGB or RGBA string
- * @param {string} hexString - hex color string
- * @param {number} [alphaVal=undefined] Alpha value
- * @returns {string} - rgb or rgba color
- */
-export declare function hexAlphaToRgbOrRgba(hexString: any, alphaVal: any): string;
-/**
- * adds alpha value to rgb string 'rgb(r, b, g)', returns 'rgba(r, g, b, a)'
- * @param {string} rgb - rgb color
- * @param {number} alpha - alpha value 0 to 1
- * @returns {string} rgba color
- */
-export declare function rgbToRgba(rgb: any, alpha: any): any;
-/**
- * @typedef {function} colorLookupByNumber
- * @param {number} num - the number to use to retrieve the color
- * @returns {string} rgb color
- */
-/**
- * Make a blue green red gradient
- * @param {number} minVal - minimum value
- * @param {number} maxVal - maximum value
- * @param {boolean} flipColors - if the colors should be flipped
- * @returns {colorLookupByNumber} color lookup function
- */
-export declare function makeBlueGreenRedGradient(minVal: any, maxVal: any, flipColors: any): (theVal: any) => string;
-/**
- * Create a function that will return colors based on a gradient
- * @param {number} median - median value
- * @param {number} stdDev - standard deviation
- * @param {boolean} flipColors - if the colors should be flipped
- * @returns {colorLookupByNumber} color lookup function
- */
-export declare function makeBlueGreenRedGradientZScore(median: any, stdDev: any, flipColors: any): (theVal: any) => string;
diff --git a/lib-ts/util/colors.js b/lib-ts/util/colors.js
deleted file mode 100644
index 6e6ca29c8498765ce750a4a236b8ffed45b10c92..0000000000000000000000000000000000000000
--- a/lib-ts/util/colors.js
+++ /dev/null
@@ -1,157 +0,0 @@
-"use strict";
-/**
- * Created by gavorhes on 11/3/2015.
- */
-var provide_1 = require('./provide');
-var chk = require('./checkDefined');
-var nm = provide_1.default('util.colors');
-/**
- * helper function to convert to hex
- * @param {number|string} x - the number to convert to hex
- * @returns {string} number as hex
- * @private
- */
-function _hex(x) {
-    var hexDigits = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f"];
-    return isNaN(x) ? "00" : hexDigits[(x - x % 16) / 16] + hexDigits[x % 16];
-}
-/**
- * converts an RGB string to hex
- * @param {string} rgb - rgb color
- * @returns {string} rbg as hex
- */
-function rgb2hex(rgb) {
-    var rgb1 = rgb.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/);
-    return ("#" + _hex(rgb1[1]) + _hex(rgb1[2]) + _hex(rgb1[3])).toUpperCase();
-}
-exports.rgb2hex = rgb2hex;
-nm.rgb2hex = rgb2hex;
-/**
- * Convert hex string to RGB or RGBA string
- * @param {string} hexString - hex color string
- * @param {number} [alphaVal=undefined] Alpha value
- * @returns {string} - rgb or rgba color
- */
-function hexAlphaToRgbOrRgba(hexString, alphaVal) {
-    hexString = ((hexString.charAt(0) == "#") ? hexString.substring(1, 7) : hexString);
-    var r = parseInt(hexString.substring(0, 2), 16).toString() || '0';
-    var g = parseInt(hexString.substring(2, 4), 16).toString() || '0';
-    var b = parseInt(hexString.substring(4, 6), 16).toString() || '0';
-    if (alphaVal) {
-        return "rgba(" + r + "," + g + "," + b + "," + alphaVal + ")";
-    }
-    else {
-        return "rgba(" + r + "," + g + "," + b + ")";
-    }
-}
-exports.hexAlphaToRgbOrRgba = hexAlphaToRgbOrRgba;
-nm.hexAlphaToRgbOrRgba = hexAlphaToRgbOrRgba;
-/**
- * adds alpha value to rgb string 'rgb(r, b, g)', returns 'rgba(r, g, b, a)'
- * @param {string} rgb - rgb color
- * @param {number} alpha - alpha value 0 to 1
- * @returns {string} rgba color
- */
-function rgbToRgba(rgb, alpha) {
-    var pieces = rgb.split(',');
-    pieces[0] = pieces[0].replace('rgb', 'rgba');
-    pieces[2] = pieces[2].replace(')', '');
-    pieces.push(' ' + alpha.toFixed(1) + ')');
-    return pieces.join(',');
-}
-exports.rgbToRgba = rgbToRgba;
-nm.rgbToRgba = rgbToRgba;
-/**
- * @typedef {function} colorLookupByNumber
- * @param {number} num - the number to use to retrieve the color
- * @returns {string} rgb color
- */
-/**
- * Make a blue green red gradient
- * @param {number} minVal - minimum value
- * @param {number} maxVal - maximum value
- * @param {boolean} flipColors - if the colors should be flipped
- * @returns {colorLookupByNumber} color lookup function
- */
-function makeBlueGreenRedGradient(minVal, maxVal, flipColors) {
-    if (typeof flipColors != "boolean") {
-        flipColors = false;
-    }
-    return function (theVal) {
-        var r, g, b;
-        var ratio;
-        if (chk.undefinedOrNull(theVal)) {
-            return 'rgb(100,100,100)';
-        }
-        var percent = (theVal - minVal) / (maxVal - minVal);
-        if (flipColors == true) {
-            percent = 1 - percent;
-        }
-        if (percent >= 1) {
-            r = 255;
-            g = 0;
-            b = 0;
-        }
-        else if (percent <= 0) {
-            r = 0;
-            g = 0;
-            b = 255;
-        }
-        else if (percent < .25) {
-            // green up, blue constant
-            r = 0;
-            g = Math.floor(255 * percent / 0.25);
-            b = 255;
-        }
-        else if (percent < 0.50) {
-            //blue down, green constant
-            ratio = (percent - 0.25) / 0.25;
-            r = 0;
-            g = 255;
-            b = 255 - Math.floor(255 * ratio);
-        }
-        else if (percent < 0.75) {
-            // red up, green constant
-            ratio = (percent - 0.5) / 0.25;
-            r = Math.floor(255 * ratio);
-            g = 255;
-            b = 0;
-        }
-        else {
-            // green down, red constant
-            ratio = (percent - 0.75) / 0.25;
-            r = 255;
-            g = 255 - Math.floor(255 * ratio);
-            b = 0;
-        }
-        r = r.toFixed();
-        g = g.toFixed();
-        b = b.toFixed();
-        return 'rgb(' + r + ',' + g + ',' + b + ')';
-    };
-}
-exports.makeBlueGreenRedGradient = makeBlueGreenRedGradient;
-nm.makeBlueGreenRedGradient = makeBlueGreenRedGradient;
-/**
- * Create a function that will return colors based on a gradient
- * @param {number} median - median value
- * @param {number} stdDev - standard deviation
- * @param {boolean} flipColors - if the colors should be flipped
- * @returns {colorLookupByNumber} color lookup function
- */
-function makeBlueGreenRedGradientZScore(median, stdDev, flipColors) {
-    var grd = makeBlueGreenRedGradient(-2.5, 2.5, flipColors);
-    return function (theVal) {
-        var zScore;
-        if (theVal == null) {
-            zScore = null;
-        }
-        else {
-            zScore = (theVal - median) / stdDev;
-        }
-        return grd(zScore);
-    };
-}
-exports.makeBlueGreenRedGradientZScore = makeBlueGreenRedGradientZScore;
-nm.makeBlueGreenRedGradientZScore = makeBlueGreenRedGradientZScore;
-//# sourceMappingURL=colors.js.map
\ No newline at end of file
diff --git a/lib-ts/util/colors.js.map b/lib-ts/util/colors.js.map
deleted file mode 100644
index 18626711373a78dfb753d3dadf2e583eb46bb9b9..0000000000000000000000000000000000000000
--- a/lib-ts/util/colors.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"colors.js","sourceRoot":"","sources":["../../src-ts/util/colors.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH,wBAAoB,WAAW,CAAC,CAAA;AAChC,IAAY,GAAG,WAAM,gBAAgB,CAAC,CAAA;AACtC,IAAI,EAAE,GAAG,iBAAO,CAAC,aAAa,CAAC,CAAC;AAGhC;;;;;GAKG;AACH,cAAc,CAAC;IACX,IAAI,SAAS,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;IAEjG,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,SAAS,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC;AAC9E,CAAC;AAED;;;;GAIG;AACH,iBAAwB,GAAG;IACvB,IAAI,IAAI,GAAG,GAAG,CAAC,KAAK,CAAC,kCAAkC,CAAC,CAAC;IAEzD,MAAM,CAAC,CAAC,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;AAC/E,CAAC;AAJe,eAAO,UAItB,CAAA;AAED,EAAE,CAAC,OAAO,GAAG,OAAO,CAAC;AAGrB;;;;;GAKG;AACH,6BAAoC,SAAS,EAAE,QAAQ;IACnD,S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hB,MAAM,CAAC,MAAM,GAAG,CAAC,GAAG,GAAG,GAAG,CAAC,GAAG,GAAG,GAAG,CAAC,GAAG,GAAG,CAAC;IAChD,CAAC,CAAC;AACN,CAAC;AA3De,gCAAwB,2BA2DvC,CAAA;AAED,EAAE,CAAC,wBAAwB,GAAG,wBAAwB,CAAC;AAGvD;;;;;;GAMG;AACH,wCAA+C,MAAM,EAAE,MAAM,EAAE,UAAU;IAErE,IAAI,GAAG,GAAG,wBAAwB,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,UAAU,CAAC,CAAC;IAE1D,MAAM,CAAC,UAAU,MAAM;QAEnB,IAAI,MAAM,CAAC;QACX,EAAE,CAAC,CAAC,MAAM,IAAI,IAAI,CAAC,CAAC,CAAC;YACjB,MAAM,GAAG,IAAI,CAAC;QAClB,CAAC;QAAC,IAAI,CAAC,CAAC;YACJ,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,GAAG,MAAM,CAAC;QACxC,CAAC;QAED,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACvB,CAAC,CAAC;AACN,CAAC;AAfe,sCAA8B,iCAe7C,CAAA;AAED,EAAE,CAAC,8BAA8B,GAAG,8BAA8B,CAAC"}
\ No newline at end of file
diff --git a/lib-ts/util/dateConvert.d.ts b/lib-ts/util/dateConvert.d.ts
deleted file mode 100644
index db0945b62f1efe2e779b36be46b892db027aa31d..0000000000000000000000000000000000000000
--- a/lib-ts/util/dateConvert.d.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * Given a date return a string in the format YYYY-mm-dd hh:MM:SS
- * @param {Date} dte to convert
- * @returns {string} the formatted date string
- */
-export declare function dateToYyyyMmDdHhMmSs(dte: any): string;
-/**
- * Given a date return a string in the format YYYYmmdd_hh0000
- * @param {Date} dte the input date
- * @returns {string} the formatted date string
- */
-export declare function dateToYyyyMmDdHh000(dte: any): string;
diff --git a/lib-ts/util/dateConvert.js b/lib-ts/util/dateConvert.js
deleted file mode 100644
index f18d0763fcd59f61aa8585aae7361e9cbc91da14..0000000000000000000000000000000000000000
--- a/lib-ts/util/dateConvert.js
+++ /dev/null
@@ -1,45 +0,0 @@
-/**
- * Created by gavorhes on 11/4/2015.
- */
-"use strict";
-var provide_1 = require('./provide');
-var nm = provide_1.default('util.dateConvert');
-function leadingPad(inNum) {
-    var strNum = inNum.toFixed();
-    if (strNum.length < 2) {
-        strNum = '0' + strNum;
-    }
-    return strNum;
-}
-nm.leadingPad = leadingPad;
-/**
- * Given a date return a string in the format YYYY-mm-dd hh:MM:SS
- * @param {Date} dte to convert
- * @returns {string} the formatted date string
- */
-function dateToYyyyMmDdHhMmSs(dte) {
-    var yr = dte.getYear() + 1900;
-    var month = leadingPad(dte.getMonth() + 1);
-    var day = leadingPad(dte.getDate());
-    var hrs = leadingPad(dte.getHours());
-    var mns = leadingPad(dte.getMinutes());
-    var secs = leadingPad(dte.getSeconds());
-    return yr + "-" + month + "-" + day + " " + hrs + ":" + mns + ":" + secs;
-}
-exports.dateToYyyyMmDdHhMmSs = dateToYyyyMmDdHhMmSs;
-nm.dateToYyyyMmDdHhMmSs = dateToYyyyMmDdHhMmSs;
-/**
- * Given a date return a string in the format YYYYmmdd_hh0000
- * @param {Date} dte the input date
- * @returns {string} the formatted date string
- */
-function dateToYyyyMmDdHh000(dte) {
-    var yr = dte.getYear() + 1900;
-    var month = leadingPad(dte.getMonth() + 1);
-    var day = leadingPad(dte.getDate());
-    var hrs = leadingPad(dte.getHours());
-    return "" + yr + month + day + "_" + hrs + "0000";
-}
-exports.dateToYyyyMmDdHh000 = dateToYyyyMmDdHh000;
-nm.dateToYyyyMmDdHh000 = dateToYyyyMmDdHh000;
-//# sourceMappingURL=dateConvert.js.map
\ No newline at end of file
diff --git a/lib-ts/util/dateConvert.js.map b/lib-ts/util/dateConvert.js.map
deleted file mode 100644
index 8c56fe69b8925d180b17bfb3b2d385d0715f3cdf..0000000000000000000000000000000000000000
--- a/lib-ts/util/dateConvert.js.map
+++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G,IAAI,CAAC;IAC9B,IAAI,KAAK,GAAG,UAAU,CAAC,GAAG,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC,CAAC;IAC3C,IAAI,GAAG,GAAG,UAAU,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC,CAAC;IACpC,IAAI,GAAG,GAAG,UAAU,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC;IAErC,MAAM,CAAC,KAAG,EAAE,GAAG,KAAK,GAAG,GAAG,SAAI,GAAG,SAAM,CAAC;AAC5C,CAAC;AAPe,2BAAmB,sBAOlC,CAAA;AAED,EAAE,CAAC,mBAAmB,GAAG,mBAAmB,CAAC"}
\ No newline at end of file
diff --git a/lib-ts/util/formatString.d.ts b/lib-ts/util/formatString.d.ts
deleted file mode 100644
index f237ddf58ed4ffa78778ce7f9339b647c177a932..0000000000000000000000000000000000000000
--- a/lib-ts/util/formatString.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export default undefined;
diff --git a/lib-ts/util/formatString.js b/lib-ts/util/formatString.js
deleted file mode 100644
index 99348cd1ff24d51cf9999698492a5b0d9dd1edc3..0000000000000000000000000000000000000000
--- a/lib-ts/util/formatString.js
+++ /dev/null
@@ -1,37 +0,0 @@
-/**
- * Created by gavorhes on 10/30/2015.
- */
-"use strict";
-if (!String.prototype['format']) {
-    /**
-     *  helper function for string replacement to keep code clean
-     * usage
-     * var aString = 'some{0}stuff{1}replaced';
-     * var c = 'cat';
-     * var b = 'bird';
-     * aString.format(c, b)  returns 'somecatstuffbirdreplaced'
-     * prettier than
-     * 'some' + c + 'stuff' + b + 'replaced'
-     * but same effect
-     * adapted to take a single array that is used for replacement by position ie
-     * var arrReplacements = [c, b];
-     * aString.format(arrReplacements)
-     * @returns {string} converted string
-     */
-    String.prototype['format'] = function () {
-        var args = arguments;
-        for (var i = 0; i < args.length; i++) {
-            args[i] = (args[i] !== null ? args[i] : '');
-        }
-        //if the first argument is an array, use that
-        if (args[0].constructor == Array) {
-            args = args[0];
-        }
-        return this.replace(/{(\d+)}/g, function (match, number) {
-            return typeof args[number] != 'undefined' ? args[number] : match;
-        });
-    };
-}
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.default = undefined;
-//# sourceMappingURL=formatString.js.map
\ No newline at end of file
diff --git a/lib-ts/util/formatString.js.map b/lib-ts/util/formatString.js.map
deleted file mode 100644
index fc80f573d5f65c361e43082b4b789d8355ef8a2e..0000000000000000000000000000000000000000
--- a/lib-ts/util/formatString.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"formatString.js","sourceRoot":"","sources":["../../src-ts/util/formatString.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;IAC9B;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,GAAG;QACzB,IAAI,IAAI,GAAG,SAAS,CAAC;QACrB,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YACnC,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC;QAChD,CAAC;QAED,6CAA6C;QAC7C,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,WAAW,IAAI,KAAK,CAAC,CAAC,CAAC;YAC/B,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;QACnB,CAAC;QAED,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,UAAU,KAAK,EAAE,MAAM;YACnD,MAAM,CAAC,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,WAAW,GAAG,IAAI,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC;QACrE,CAAC,CAAC,CAAC;IACP,CAAC,CAAC;AACN,CAAC;AAED;kBAAe,SAAS,CAAC"}
\ No newline at end of file
diff --git a/lib-ts/util/getUrlParams.d.ts b/lib-ts/util/getUrlParams.d.ts
deleted file mode 100644
index a3e477e654e9c4723ba3c599e1b74c38a83c2919..0000000000000000000000000000000000000000
--- a/lib-ts/util/getUrlParams.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-/**
- *
- * @returns {object} object representation of url params
- */
-export default function getUrlParams(): {};
diff --git a/lib-ts/util/getUrlParams.js b/lib-ts/util/getUrlParams.js
deleted file mode 100644
index 2cccef703ab92dd0eebdcf63cf6d26b2438d3a3e..0000000000000000000000000000000000000000
--- a/lib-ts/util/getUrlParams.js
+++ /dev/null
@@ -1,54 +0,0 @@
-"use strict";
-/**
- * Created by gavorhes on 6/23/2016.
- */
-var provide_1 = require('./provide');
-var nm = provide_1.default('util');
-function isNumber(checkVal) {
-    var returnVal = parseFloat(checkVal);
-    return !isNaN(returnVal);
-}
-/**
- *
- * @returns {object} object representation of url params
- */
-function getUrlParams() {
-    "use strict";
-    var match;
-    var pl = /\+/g; // Regex for replacing addition symbol with a space
-    var search = /([^&=]+)=?([^&]*)/g;
-    var decode = function (s) {
-        return decodeURIComponent(s.replace(pl, " "));
-    };
-    var query = window.location.search.substring(1);
-    var urlParams = {};
-    while (match = search.exec(query)) {
-        /**
-         * @type {string}
-         */
-        var val = decode(match[2]).trim();
-        var typedVal = null;
-        if (val.length == 0) {
-        }
-        else if (isNumber(val)) {
-            if (val.indexOf('.') > -1) {
-                typedVal = parseFloat(val);
-            }
-            else {
-                typedVal = parseInt(val);
-            }
-        }
-        else if (val.toLowerCase() == 'false' || val.toLowerCase() == 'true') {
-            typedVal = val.toLowerCase() == 'true';
-        }
-        else {
-            typedVal = val;
-        }
-        urlParams[decode(match[1])] = typedVal;
-    }
-    return urlParams;
-}
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.default = getUrlParams;
-nm.getUrlParams = getUrlParams;
-//# sourceMappingURL=getUrlParams.js.map
\ No newline at end of file
diff --git a/lib-ts/util/getUrlParams.js.map b/lib-ts/util/getUrlParams.js.map
deleted file mode 100644
index 3529a6095371ba17a0dd7ceafc7d73b192d35abe..0000000000000000000000000000000000000000
--- a/lib-ts/util/getUrlParams.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"getUrlParams.js","sourceRoot":"","sources":["../../src-ts/util/getUrlParams.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH,wBAAoB,WAAW,CAAC,CAAA;AAChC,IAAI,EAAE,GAAG,iBAAO,CAAC,MAAM,CAAC,CAAC;AAGzB,kBAAkB,QAAa;IAC3B,IAAI,SAAS,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAC;IAErC,MAAM,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AAC7B,CAAC;AAED;;;GAGG;AACH;IACI,YAAY,CAAC;IAEb,IAAI,KAAK,CAAC;IACV,IAAI,EAAE,GAAG,KAAK,CAAC,CAAE,mDAAmD;IACpE,IAAI,MAAM,GAAG,oBAAoB,CAAC;IAClC,IAAI,MAAM,GAAG,UAAU,CAAC;QACpB,MAAM,CAAC,kBAAkB,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,EAAE,GAAG,CAAC,CAAC,CAAC;IAClD,CAAC,CAAC;IACF,IAAI,KAAK,GAAG,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;IAEhD,IAAI,SAAS,GAAG,EAAE,CAAC;IACnB,OAAO,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;QAChC;;WAEG;QACH,IAAI,GAAG,GAAI,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;QAEnC,IAAI,QAAQ,GAAG,IAAI,CAAC;QACpB,EAAE,CAAC,CAAC,GAAG,CAAC,MAAM,IAAI,CAAC,CAAC,CAAA,CAAC;QAErB,CAAC;QACD,IAAI,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAA,CAAC;YACpB,EAAE,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAA,CAAC;gBACvB,QAAQ,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC;YAC/B,CAAC;YAAC,IAAI,CAAC,CAAC;gBACJ,QAAQ,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC;YAC7B,CAAC;QACL,CAAC;QACD,IAAI,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,WAAW,EAAE,IAAI,OAAO,IAAI,GAAG,CAAC,WAAW,EAAE,IAAI,MAAM,CAAC,CAAA,CAAC;YAClE,QAAQ,GAAG,GAAG,CAAC,WAAW,EAAE,IAAI,MAAM,CAAC;QAC3C,CAAC;QACD,IAAI,CAAC,CAAC;YACF,QAAQ,GAAG,GAAG,CAAC;QACnB,CAAC;QACD,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,QAAQ,CAAC;IAC3C,CAAC;IAED,MAAM,CAAC,SAAS,CAAC;AACrB,CAAC;AAvCD;8BAuCC,CAAA;AAED,EAAE,CAAC,YAAY,GAAG,YAAY,CAAC"}
\ No newline at end of file
diff --git a/lib-ts/util/makeGuid.d.ts b/lib-ts/util/makeGuid.d.ts
deleted file mode 100644
index 2e1fc4f9a9e595e68224e3cdbac0a5c04ccb9246..0000000000000000000000000000000000000000
--- a/lib-ts/util/makeGuid.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * guids are used to uniquely identify groups and features
- * @returns {string} a new guid
- */
-declare function makeGuid(): string;
-export default makeGuid;
diff --git a/lib-ts/util/makeGuid.js b/lib-ts/util/makeGuid.js
deleted file mode 100644
index 4eb135e9ada291b871ae3d9ad01200151b44f601..0000000000000000000000000000000000000000
--- a/lib-ts/util/makeGuid.js
+++ /dev/null
@@ -1,21 +0,0 @@
-/**
- * Created by gavorhes on 11/3/2015.
- */
-"use strict";
-var provide_1 = require('./provide');
-var nm = provide_1.default('util');
-/**
- * guids are used to uniquely identify groups and features
- * @returns {string} a new guid
- */
-function makeGuid() {
-    return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'
-        .replace(/[xy]/g, function (c) {
-        var r = Math.random() * 16 | 0, v = c == 'x' ? r : r & 0x3 | 0x8;
-        return v.toString(16);
-    });
-}
-nm.makeGuid = makeGuid;
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.default = makeGuid;
-//# sourceMappingURL=makeGuid.js.map
\ No newline at end of file
diff --git a/lib-ts/util/makeGuid.js.map b/lib-ts/util/makeGuid.js.map
deleted file mode 100644
index bc6cedb2e66ca2ec532bb8266877769a62a766b2..0000000000000000000000000000000000000000
--- a/lib-ts/util/makeGuid.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"makeGuid.js","sourceRoot":"","sources":["../../src-ts/util/makeGuid.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,wBAAoB,WAAW,CAAC,CAAA;AAChC,IAAI,EAAE,GAAG,iBAAO,CAAC,MAAM,CAAC,CAAC;AAGzB;;;GAGG;AACH;IACQ,MAAM,CAAC,sCAAsC;SACxC,OAAO,CAAC,OAAO,EAAE,UAAU,CAAC;QACzB,IAAI,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,IAAI,GAAG,GAAG,CAAC,GAAG,CAAC,GAAG,GAAG,GAAG,GAAG,CAAC;QAEjE,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;IAC1B,CAAC,CAAC,CAAC;AAEf,CAAC;AACD,EAAE,CAAC,QAAQ,GAAG,QAAQ,CAAC;AACvB;kBAAe,QAAQ,CAAC"}
\ No newline at end of file
diff --git a/lib-ts/util/objectHelpers.d.ts b/lib-ts/util/objectHelpers.d.ts
deleted file mode 100644
index 105f0be6571492f60c1a28771cbc04984e40ebd9..0000000000000000000000000000000000000000
--- a/lib-ts/util/objectHelpers.d.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * @typedef {object} keyValuePair
- * @property {string} key
- * @property {object} value
- */
-/**
- * iterate over the key value pairs of an object
- * @param {object} obj - the input object
- * @returns {Array<keyValuePair>} - array of key value pairs
- */
-export declare function keyValPairs(obj: any): any[];
diff --git a/lib-ts/util/objectHelpers.js b/lib-ts/util/objectHelpers.js
deleted file mode 100644
index c0d67139c9d258b59a0848ed71195834c491aaeb..0000000000000000000000000000000000000000
--- a/lib-ts/util/objectHelpers.js
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
- * Created by gavorhes on 6/7/2016.
- */
-"use strict";
-var provide_1 = require('./provide');
-var nm = provide_1.default('util');
-/**
- * @typedef {object} keyValuePair
- * @property {string} key
- * @property {object} value
- */
-/**
- * iterate over the key value pairs of an object
- * @param {object} obj - the input object
- * @returns {Array<keyValuePair>} - array of key value pairs
- */
-function keyValPairs(obj) {
-    var outArray = [];
-    for (var _i = 0, _a = Object.keys(obj); _i < _a.length; _i++) {
-        var key = _a[_i];
-        outArray.push({ 'key': key, 'value': obj[key] });
-    }
-    outArray.sort(function (a, b) {
-        "use strict";
-        return a > b ? 1 : -1;
-    });
-    return outArray;
-}
-exports.keyValPairs = keyValPairs;
-nm.keyValPairs = keyValPairs;
-//# sourceMappingURL=objectHelpers.js.map
\ No newline at end of file
diff --git a/lib-ts/util/objectHelpers.js.map b/lib-ts/util/objectHelpers.js.map
deleted file mode 100644
index 80d4e87a7e45ef838f11058f1b5eb1e293037ec7..0000000000000000000000000000000000000000
--- a/lib-ts/util/objectHelpers.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"objectHelpers.js","sourceRoot":"","sources":["../../src-ts/util/objectHelpers.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,wBAAoB,WAAW,CAAC,CAAA;AAChC,IAAI,EAAE,GAAG,iBAAO,CAAC,MAAM,CAAC,CAAC;AAEzB;;;;GAIG;AAGH;;;;GAIG;AACH,qBAA4B,GAAG;IAC3B,IAAI,QAAQ,GAAG,EAAE,CAAC;IAClB,GAAG,CAAC,CAAY,UAAgB,EAAhB,KAAA,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,EAAhB,cAAgB,EAAhB,IAAgB,CAAC;QAA5B,IAAI,GAAG,SAAA;QACR,QAAQ,CAAC,IAAI,CAAC,EAAC,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,CAAC,GAAG,CAAC,EAAC,CAAC,CAAC;KAElD;IACD,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;QACxB,YAAY,CAAC;QAEb,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;IAC1B,CAAC,CAAC,CAAC;IAEH,MAAM,CAAC,QAAQ,CAAC;AACpB,CAAC;AAbe,mBAAW,cAa1B,CAAA;AAED,EAAE,CAAC,WAAW,GAAG,WAAW,CAAC"}
\ No newline at end of file
diff --git a/lib-ts/util/provide.d.ts b/lib-ts/util/provide.d.ts
deleted file mode 100644
index d38ea8bd7e85a40c2e857d7eaaf665086bfaf5df..0000000000000000000000000000000000000000
--- a/lib-ts/util/provide.d.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Created by gavorhes on 12/10/2015.
- */
-/**
- * create a namespace on the gv object
- * @param {string} namespace to create
- * @returns {object} object representing the namespace
- */
-declare function provide(namespace: any): any;
-export default provide;
diff --git a/lib-ts/util/provide.js b/lib-ts/util/provide.js
deleted file mode 100644
index 165a6832be1ff71448e5c3cdb24add87a2791c9e..0000000000000000000000000000000000000000
--- a/lib-ts/util/provide.js
+++ /dev/null
@@ -1,30 +0,0 @@
-/**
- * Created by gavorhes on 12/10/2015.
- */
-"use strict";
-/**
- * create a namespace on the gv object
- * @param {string} namespace to create
- * @returns {object} object representing the namespace
- */
-function provide(namespace) {
-    "use strict";
-    if (typeof window['gv'] == 'undefined') {
-        window['gv'] = {};
-    }
-    var parts = namespace.split('.');
-    var nameSpace = window['gv'];
-    for (var i = 0; i < parts.length; i++) {
-        var newObject = nameSpace[parts[i]];
-        if (typeof newObject == 'undefined') {
-            nameSpace[parts[i]] = {};
-        }
-        nameSpace = nameSpace[parts[i]];
-    }
-    return nameSpace;
-}
-provide('util');
-window['gv'].util.provide = provide;
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.default = provide;
-//# sourceMappingURL=provide.js.map
\ No newline at end of file
diff --git a/lib-ts/util/provide.js.map b/lib-ts/util/provide.js.map
deleted file mode 100644
index 578fe6bf34c9da087ca9fa56b8e60b8dd8b00a1e..0000000000000000000000000000000000000000
--- a/lib-ts/util/provide.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"provide.js","sourceRoot":"","sources":["../../src-ts/util/provide.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAGH;;;;GAIG;AACH,iBAAiB,SAAS;IACtB,YAAY,CAAC;IACb,EAAE,CAAC,CAAC,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,WAAW,CAAC,CAAA,CAAC;QACpC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;IACtB,CAAC;IAED,IAAI,KAAK,GAAG,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACjC,IAAI,SAAS,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC;IAE7B,GAAG,CAAC,CAAC,IAAI,CAAC,GAAC,CAAC,EAAE,CAAC,GAAE,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAC,CAAC;QAChC,IAAI,SAAS,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;QAEpC,EAAE,CAAC,CAAC,OAAO,SAAS,IAAI,WAAW,CAAC,CAAA,CAAC;YACjC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;QAC7B,CAAC;QAED,SAAS,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;IACpC,CAAC;IAED,MAAM,CAAC,SAAS,CAAC;AACrB,CAAC;AAED,OAAO,CAAC,MAAM,CAAC,CAAC;AAChB,MAAM,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;AAEpC;kBAAe,OAAO,CAAC"}
\ No newline at end of file
diff --git a/package.json b/package.json
index 265d8ff74d69960ebf60bfac866f4cd8081fc079..c8d7b0c3cece2d486a9ce0ec8d4e6367981db521 100644
--- a/package.json
+++ b/package.json
@@ -7,7 +7,8 @@
     "dist",
     "doc",
     "ext",
-    "css"
+    "css",
+    "typings"
   ],
   "scripts": {
     "test": "node node_modules\\karma\\bin\\karma start karma.conf.js",
diff --git a/src-ts/_scratch/Hello.tsx b/src-ts/_scratch/Hello.tsx
index ca0cd0ab0687c3acf4c2700d8151983cc0a54f07..2f3c31261116f8ab817f23e7e4629532b2f59b9e 100644
--- a/src-ts/_scratch/Hello.tsx
+++ b/src-ts/_scratch/Hello.tsx
@@ -1,12 +1,12 @@
 /**
  * Created by gavorhes on 9/22/2016.
  */
-import * as React from "react";
-
-export interface HelloProps { compiler: string; framework: string; }
-
-export class Hello extends React.Component<HelloProps, {}> {
-    render() {
-        return <h1>Hello from {this.props.compiler} and {this.props.framework}!</h1>;
-    }
-}
\ No newline at end of file
+// import * as React from "react";
+//
+// export interface HelloProps { compiler: string; framework: string; }
+//
+// export class Hello extends React.Component<HelloProps, {}> {
+//     render() {
+//         return <h1>Hello from {this.props.compiler} and {this.props.framework}!</h1>;
+//     }
+// }
\ No newline at end of file
diff --git a/src-ts/_test/reacttst.tsx b/src-ts/_test/reacttst.tsx
index cd592975931980bdcd0f084c834d54877ee32e30..5f64b627dbd255ec60dca32d0a5b20d484e9fbac 100644
--- a/src-ts/_test/reacttst.tsx
+++ b/src-ts/_test/reacttst.tsx
@@ -2,7 +2,7 @@
  * Created by gavorhes on 9/22/2016.
  */
 
-import * as React from "react";
+// import * as React from "react";
 // import * as ReactDOM from "react/lib/";
 //
 // import { Hello } from "../_scratch/Hello";
@@ -14,3 +14,4 @@ import * as React from "react";
 //     document.getElementById("example")
 // );
 //
+
diff --git a/src-ts/layers/LayerBaseVector.ts b/src-ts/layers/LayerBaseVector.ts
index 7ce2a2901dcc6e86d7229688b89142589d8e503d..53b790382e70ffe734ae42dda83ee8de3395563b 100644
--- a/src-ts/layers/LayerBaseVector.ts
+++ b/src-ts/layers/LayerBaseVector.ts
@@ -1,5 +1,3 @@
-/// <reference path="../../definitions/jquery.d.ts" />
-/// <reference path="../../definitions/node.d.ts" />
 
 
 import {LayerBase, LayerBaseOptions} from './LayerBase';
diff --git a/src-ts/olHelpers/mapMoveCls.ts b/src-ts/olHelpers/mapMoveCls.ts
index cf7d5c5f0cce9d27dc16d248f09f587ef69399e8..d78eb6e93c302ed775d5e9c7afd2a554f35050b0 100644
--- a/src-ts/olHelpers/mapMoveCls.ts
+++ b/src-ts/olHelpers/mapMoveCls.ts
@@ -1,4 +1,3 @@
-///// /// <reference path="../../definitions/openlayers.d.ts"/>
 import LayerBaseVector from "../layers/LayerBaseVector";
 import MapInteractionBase from './mapInteractionBase';
 import * as checkDefined from '../util/checkDefined';
diff --git a/tsconfig.json b/tsconfig.json
index 9268520e5418ad27af96b6826920e9665efd13bd..9495c11ca347f9dd9518def4504484b82b2ac936 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -10,5 +10,10 @@
     "sourceMap": true,
     "jsx": "react"
   },
-  "exclude": ["node_modules", "ts-lib", "lib-ts", "definitions", "dist"]
+  "exclude": [
+    "node_modules", "dist", "typings"
+  ],
+  "include": [
+     "src-ts/**/*"
+  ]
 }
\ No newline at end of file
diff --git a/typings.json b/typings.json
index 6825e1e0b293c480f5d5be3830089a91ec1d2867..48ec50ab7067064ae5a40b5b08a0f24081182286 100644
--- a/typings.json
+++ b/typings.json
@@ -2,6 +2,8 @@
   "name": "webmapsjs",
   "dependencies": {},
   "globalDependencies": {
+    "jquery": "registry:dt/jquery#1.10.0+20160908203239",
+    "node": "registry:dt/node#6.0.0+20160921192128",
     "react": "registry:dt/react#0.14.0+20160920055104"
   },
   "globalDevDependencies": {
diff --git a/typings/globals/jquery/index.d.ts b/typings/globals/jquery/index.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..34424651d6871c959739897250b3673274d93150
--- /dev/null
+++ b/typings/globals/jquery/index.d.ts
@@ -0,0 +1,3220 @@
+// Generated by typings
+// Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/5c7d1fcbea9b14df54fc4554d94cb67dfabffd9a/jquery/jquery.d.ts
+interface JQueryAjaxSettings {
+    /**
+     * The content type sent in the request header that tells the server what kind of response it will accept in return. If the accepts setting needs modification, it is recommended to do so once in the $.ajaxSetup() method.
+     */
+    accepts?: any;
+    /**
+     * By default, all requests are sent asynchronously (i.e. this is set to true by default). If you need synchronous requests, set this option to false. Cross-domain requests and dataType: "jsonp" requests do not support synchronous operation. Note that synchronous requests may temporarily lock the browser, disabling any actions while the request is active. As of jQuery 1.8, the use of async: false with jqXHR ($.Deferred) is deprecated; you must use the success/error/complete callback options instead of the corresponding methods of the jqXHR object such as jqXHR.done() or the deprecated jqXHR.success().
+     */
+    async?: boolean;
+    /**
+     * A pre-request callback function that can be used to modify the jqXHR (in jQuery 1.4.x, XMLHTTPRequest) object before it is sent. Use this to set custom headers, etc. The jqXHR and settings objects are passed as arguments. This is an Ajax Event. Returning false in the beforeSend function will cancel the request. As of jQuery 1.5, the beforeSend option will be called regardless of the type of request.
+     */
+    beforeSend? (jqXHR: JQueryXHR, settings: JQueryAjaxSettings): any;
+    /**
+     * If set to false, it will force requested pages not to be cached by the browser. Note: Setting cache to false will only work correctly with HEAD and GET requests. It works by appending "_={timestamp}" to the GET parameters. The parameter is not needed for other types of requests, except in IE8 when a POST is made to a URL that has already been requested by a GET.
+     */
+    cache?: boolean;
+    /**
+     * A function to be called when the request finishes (after success and error callbacks are executed). The function gets passed two arguments: The jqXHR (in jQuery 1.4.x, XMLHTTPRequest) object and a string categorizing the status of the request ("success", "notmodified", "error", "timeout", "abort", or "parsererror"). As of jQuery 1.5, the complete setting can accept an array of functions. Each function will be called in turn. This is an Ajax Event.
+     */
+    complete? (jqXHR: JQueryXHR, textStatus: string): any;
+    /**
+     * An object of string/regular-expression pairs that determine how jQuery will parse the response, given its content type. (version added: 1.5)
+     */
+    contents?: { [key: string]: any; };
+    //According to jQuery.ajax source code, ajax's option actually allows contentType to set to "false"
+    // https://github.com/DefinitelyTyped/DefinitelyTyped/issues/742
+    /**
+     * When sending data to the server, use this content type. Default is "application/x-www-form-urlencoded; charset=UTF-8", which is fine for most cases. If you explicitly pass in a content-type to $.ajax(), then it is always sent to the server (even if no data is sent). The W3C XMLHttpRequest specification dictates that the charset is always UTF-8; specifying another charset will not force the browser to change the encoding.
+     */
+    contentType?: any;
+    /**
+     * This object will be made the context of all Ajax-related callbacks. By default, the context is an object that represents the ajax settings used in the call ($.ajaxSettings merged with the settings passed to $.ajax).
+     */
+    context?: any;
+    /**
+     * An object containing dataType-to-dataType converters. Each converter's value is a function that returns the transformed value of the response. (version added: 1.5)
+     */
+    converters?: { [key: string]: any; };
+    /**
+     * If you wish to force a crossDomain request (such as JSONP) on the same domain, set the value of crossDomain to true. This allows, for example, server-side redirection to another domain. (version added: 1.5)
+     */
+    crossDomain?: boolean;
+    /**
+     * Data to be sent to the server. It is converted to a query string, if not already a string. It's appended to the url for GET-requests. See processData option to prevent this automatic processing. Object must be Key/Value pairs. If value is an Array, jQuery serializes multiple values with same key based on the value of the traditional setting (described below).
+     */
+    data?: any;
+    /**
+     * A function to be used to handle the raw response data of XMLHttpRequest.This is a pre-filtering function to sanitize the response. You should return the sanitized data. The function accepts two arguments: The raw data returned from the server and the 'dataType' parameter.
+     */
+    dataFilter? (data: any, ty: any): any;
+    /**
+     * The type of data that you're expecting back from the server. If none is specified, jQuery will try to infer it based on the MIME type of the response (an XML MIME type will yield XML, in 1.4 JSON will yield a JavaScript object, in 1.4 script will execute the script, and anything else will be returned as a string). 
+     */
+    dataType?: string;
+    /**
+     * A function to be called if the request fails. The function receives three arguments: The jqXHR (in jQuery 1.4.x, XMLHttpRequest) object, a string describing the type of error that occurred and an optional exception object, if one occurred. Possible values for the second argument (besides null) are "timeout", "error", "abort", and "parsererror". When an HTTP error occurs, errorThrown receives the textual portion of the HTTP status, such as "Not Found" or "Internal Server Error." As of jQuery 1.5, the error setting can accept an array of functions. Each function will be called in turn. Note: This handler is not called for cross-domain script and cross-domain JSONP requests. This is an Ajax Event.
+     */
+    error? (jqXHR: JQueryXHR, textStatus: string, errorThrown: string): any;
+    /**
+     * Whether to trigger global Ajax event handlers for this request. The default is true. Set to false to prevent the global handlers like ajaxStart or ajaxStop from being triggered. This can be used to control various Ajax Events.
+     */
+    global?: boolean;
+    /**
+     * An object of additional header key/value pairs to send along with requests using the XMLHttpRequest transport. The header X-Requested-With: XMLHttpRequest is always added, but its default XMLHttpRequest value can be changed here. Values in the headers setting can also be overwritten from within the beforeSend function. (version added: 1.5)
+     */
+    headers?: { [key: string]: any; };
+    /**
+     * Allow the request to be successful only if the response has changed since the last request. This is done by checking the Last-Modified header. Default value is false, ignoring the header. In jQuery 1.4 this technique also checks the 'etag' specified by the server to catch unmodified data.
+     */
+    ifModified?: boolean;
+    /**
+     * Allow the current environment to be recognized as "local," (e.g. the filesystem), even if jQuery does not recognize it as such by default. The following protocols are currently recognized as local: file, *-extension, and widget. If the isLocal setting needs modification, it is recommended to do so once in the $.ajaxSetup() method. (version added: 1.5.1)
+     */
+    isLocal?: boolean;
+    /**
+     * Override the callback function name in a jsonp request. This value will be used instead of 'callback' in the 'callback=?' part of the query string in the url. So {jsonp:'onJSONPLoad'} would result in 'onJSONPLoad=?' passed to the server. As of jQuery 1.5, setting the jsonp option to false prevents jQuery from adding the "?callback" string to the URL or attempting to use "=?" for transformation. In this case, you should also explicitly set the jsonpCallback setting. For example, { jsonp: false, jsonpCallback: "callbackName" }
+     */
+    jsonp?: any;
+    /**
+     * Specify the callback function name for a JSONP request. This value will be used instead of the random name automatically generated by jQuery. It is preferable to let jQuery generate a unique name as it'll make it easier to manage the requests and provide callbacks and error handling. You may want to specify the callback when you want to enable better browser caching of GET requests. As of jQuery 1.5, you can also use a function for this setting, in which case the value of jsonpCallback is set to the return value of that function.
+     */
+    jsonpCallback?: any;
+    /**
+     * The HTTP method to use for the request (e.g. "POST", "GET", "PUT"). (version added: 1.9.0)
+     */
+    method?: string;
+    /**
+     * A mime type to override the XHR mime type. (version added: 1.5.1)
+     */
+    mimeType?: string;
+    /**
+     * A password to be used with XMLHttpRequest in response to an HTTP access authentication request.
+     */
+    password?: string;
+    /**
+     * By default, data passed in to the data option as an object (technically, anything other than a string) will be processed and transformed into a query string, fitting to the default content-type "application/x-www-form-urlencoded". If you want to send a DOMDocument, or other non-processed data, set this option to false.
+     */
+    processData?: boolean;
+    /**
+     * Only applies when the "script" transport is used (e.g., cross-domain requests with "jsonp" or "script" dataType and "GET" type). Sets the charset attribute on the script tag used in the request. Used when the character set on the local page is not the same as the one on the remote script.
+     */
+    scriptCharset?: string;
+    /**
+     * An object of numeric HTTP codes and functions to be called when the response has the corresponding code. f the request is successful, the status code functions take the same parameters as the success callback; if it results in an error (including 3xx redirect), they take the same parameters as the error callback. (version added: 1.5)
+     */
+    statusCode?: { [key: string]: any; };
+    /**
+     * A function to be called if the request succeeds. The function gets passed three arguments: The data returned from the server, formatted according to the dataType parameter; a string describing the status; and the jqXHR (in jQuery 1.4.x, XMLHttpRequest) object. As of jQuery 1.5, the success setting can accept an array of functions. Each function will be called in turn. This is an Ajax Event.
+     */
+    success? (data: any, textStatus: string, jqXHR: JQueryXHR): any;
+    /**
+     * Set a timeout (in milliseconds) for the request. This will override any global timeout set with $.ajaxSetup(). The timeout period starts at the point the $.ajax call is made; if several other requests are in progress and the browser has no connections available, it is possible for a request to time out before it can be sent. In jQuery 1.4.x and below, the XMLHttpRequest object will be in an invalid state if the request times out; accessing any object members may throw an exception. In Firefox 3.0+ only, script and JSONP requests cannot be cancelled by a timeout; the script will run even if it arrives after the timeout period.
+     */
+    timeout?: number;
+    /**
+     * Set this to true if you wish to use the traditional style of param serialization.
+     */
+    traditional?: boolean;
+    /**
+     * The type of request to make ("POST" or "GET"), default is "GET". Note: Other HTTP request methods, such as PUT and DELETE, can also be used here, but they are not supported by all browsers.
+     */
+    type?: string;
+    /**
+     * A string containing the URL to which the request is sent.
+     */
+    url?: string;
+    /**
+     * A username to be used with XMLHttpRequest in response to an HTTP access authentication request.
+     */
+    username?: string;
+    /**
+     * Callback for creating the XMLHttpRequest object. Defaults to the ActiveXObject when available (IE), the XMLHttpRequest otherwise. Override to provide your own implementation for XMLHttpRequest or enhancements to the factory.
+     */
+    xhr?: any;
+    /**
+     * An object of fieldName-fieldValue pairs to set on the native XHR object. For example, you can use it to set withCredentials to true for cross-domain requests if needed. In jQuery 1.5, the withCredentials property was not propagated to the native XHR and thus CORS requests requiring it would ignore this flag. For this reason, we recommend using jQuery 1.5.1+ should you require the use of it. (version added: 1.5.1)
+     */
+    xhrFields?: { [key: string]: any; };
+}
+
+/**
+ * Interface for the jqXHR object
+ */
+interface JQueryXHR extends XMLHttpRequest, JQueryPromise<any> {
+    /**
+     * The .overrideMimeType() method may be used in the beforeSend() callback function, for example, to modify the response content-type header. As of jQuery 1.5.1, the jqXHR object also contains the overrideMimeType() method (it was available in jQuery 1.4.x, as well, but was temporarily removed in jQuery 1.5). 
+     */
+    overrideMimeType(mimeType: string): any;
+    /**
+     * Cancel the request. 
+     *
+     * @param statusText A string passed as the textStatus parameter for the done callback. Default value: "canceled"
+     */
+    abort(statusText?: string): void;
+    /**
+     * Incorporates the functionality of the .done() and .fail() methods, allowing (as of jQuery 1.8) the underlying Promise to be manipulated. Refer to deferred.then() for implementation details.
+     */
+    then<R>(doneCallback: (data: any, textStatus: string, jqXHR: JQueryXHR) => R, failCallback?: (jqXHR: JQueryXHR, textStatus: string, errorThrown: any) => void): JQueryPromise<R>;
+    /**
+     * Property containing the parsed response if the response Content-Type is json
+     */
+    responseJSON?: any;
+    /**
+     * A function to be called if the request fails.
+     */
+    error(xhr: JQueryXHR, textStatus: string, errorThrown: string): void;
+}
+
+/**
+ * Interface for the JQuery callback
+ */
+interface JQueryCallback {
+    /**
+     * Add a callback or a collection of callbacks to a callback list.
+     * 
+     * @param callbacks A function, or array of functions, that are to be added to the callback list.
+     */
+    add(callbacks: Function): JQueryCallback;
+    /**
+     * Add a callback or a collection of callbacks to a callback list.
+     * 
+     * @param callbacks A function, or array of functions, that are to be added to the callback list.
+     */
+    add(callbacks: Function[]): JQueryCallback;
+
+    /**
+     * Disable a callback list from doing anything more.
+     */
+    disable(): JQueryCallback;
+
+    /**
+     * Determine if the callbacks list has been disabled.
+     */
+    disabled(): boolean;
+
+    /**
+     * Remove all of the callbacks from a list.
+     */
+    empty(): JQueryCallback;
+
+    /**
+     * Call all of the callbacks with the given arguments
+     * 
+     * @param arguments The argument or list of arguments to pass back to the callback list.
+     */
+    fire(...arguments: any[]): JQueryCallback;
+
+    /**
+     * Determine if the callbacks have already been called at least once.
+     */
+    fired(): boolean;
+
+    /**
+     * Call all callbacks in a list with the given context and arguments.
+     * 
+     * @param context A reference to the context in which the callbacks in the list should be fired.
+     * @param arguments An argument, or array of arguments, to pass to the callbacks in the list.
+     */
+    fireWith(context?: any, args?: any[]): JQueryCallback;
+
+    /**
+     * Determine whether a supplied callback is in a list
+     * 
+     * @param callback The callback to search for.
+     */
+    has(callback: Function): boolean;
+
+    /**
+     * Lock a callback list in its current state.
+     */
+    lock(): JQueryCallback;
+
+    /**
+     * Determine if the callbacks list has been locked.
+     */
+    locked(): boolean;
+
+    /**
+     * Remove a callback or a collection of callbacks from a callback list.
+     * 
+     * @param callbacks A function, or array of functions, that are to be removed from the callback list.
+     */
+    remove(callbacks: Function): JQueryCallback;
+    /**
+     * Remove a callback or a collection of callbacks from a callback list.
+     * 
+     * @param callbacks A function, or array of functions, that are to be removed from the callback list.
+     */
+    remove(callbacks: Function[]): JQueryCallback;
+}
+
+/**
+ * Allows jQuery Promises to interop with non-jQuery promises
+ */
+interface JQueryGenericPromise<T> {
+    /**
+     * Add handlers to be called when the Deferred object is resolved, rejected, or still in progress.
+     * 
+     * @param doneFilter A function that is called when the Deferred is resolved.
+     * @param failFilter An optional function that is called when the Deferred is rejected.
+     */
+    then<U>(doneFilter: (value?: T, ...values: any[]) => U|JQueryPromise<U>, failFilter?: (...reasons: any[]) => any, progressFilter?: (...progression: any[]) => any): JQueryPromise<U>;
+
+    /**
+     * Add handlers to be called when the Deferred object is resolved, rejected, or still in progress.
+     * 
+     * @param doneFilter A function that is called when the Deferred is resolved.
+     * @param failFilter An optional function that is called when the Deferred is rejected.
+     */
+    then(doneFilter: (value?: T, ...values: any[]) => void, failFilter?: (...reasons: any[]) => any, progressFilter?: (...progression: any[]) => any): JQueryPromise<void>;
+}
+
+/**
+ * Interface for the JQuery promise/deferred callbacks
+ */
+interface JQueryPromiseCallback<T> {
+    (value?: T, ...args: any[]): void;
+}
+
+interface JQueryPromiseOperator<T, U> {
+    (callback1: JQueryPromiseCallback<T>|JQueryPromiseCallback<T>[], ...callbacksN: Array<JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[]>): JQueryPromise<U>;
+}
+
+/**
+ * Interface for the JQuery promise, part of callbacks
+ */
+interface JQueryPromise<T> extends JQueryGenericPromise<T> {
+    /**
+     * Determine the current state of a Deferred object.
+     */
+    state(): string;
+    /**
+     * Add handlers to be called when the Deferred object is either resolved or rejected.
+     * 
+     * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected.
+     * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected.
+     */
+    always(alwaysCallback1?: JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[], ...alwaysCallbacksN: Array<JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[]>): JQueryPromise<T>;
+    /**
+     * Add handlers to be called when the Deferred object is resolved.
+     * 
+     * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved.
+     * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved.
+     */
+    done(doneCallback1?: JQueryPromiseCallback<T>|JQueryPromiseCallback<T>[], ...doneCallbackN: Array<JQueryPromiseCallback<T>|JQueryPromiseCallback<T>[]>): JQueryPromise<T>;
+    /**
+     * Add handlers to be called when the Deferred object is rejected.
+     * 
+     * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected.
+     * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected.
+     */
+    fail(failCallback1?: JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[], ...failCallbacksN: Array<JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[]>): JQueryPromise<T>;
+    /**
+     * Add handlers to be called when the Deferred object generates progress notifications.
+     * 
+     * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications.
+     */
+    progress(progressCallback1?: JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[], ...progressCallbackN: Array<JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[]>): JQueryPromise<T>;
+
+    // Deprecated - given no typings
+    pipe(doneFilter?: (x: any) => any, failFilter?: (x: any) => any, progressFilter?: (x: any) => any): JQueryPromise<any>;
+}
+
+/**
+ * Interface for the JQuery deferred, part of callbacks
+ */
+interface JQueryDeferred<T> extends JQueryGenericPromise<T> {
+    /**
+     * Determine the current state of a Deferred object.
+     */
+    state(): string;
+    /**
+     * Add handlers to be called when the Deferred object is either resolved or rejected.
+     * 
+     * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected.
+     * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected.
+     */
+    always(alwaysCallback1?: JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[], ...alwaysCallbacksN: Array<JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[]>): JQueryDeferred<T>;
+    /**
+     * Add handlers to be called when the Deferred object is resolved.
+     * 
+     * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved.
+     * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved.
+     */
+    done(doneCallback1?: JQueryPromiseCallback<T>|JQueryPromiseCallback<T>[], ...doneCallbackN: Array<JQueryPromiseCallback<T>|JQueryPromiseCallback<T>[]>): JQueryDeferred<T>;
+    /**
+     * Add handlers to be called when the Deferred object is rejected.
+     * 
+     * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected.
+     * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected.
+     */
+    fail(failCallback1?: JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[], ...failCallbacksN: Array<JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[]>): JQueryDeferred<T>;
+    /**
+     * Add handlers to be called when the Deferred object generates progress notifications.
+     * 
+     * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications.
+     */
+    progress(progressCallback1?: JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[], ...progressCallbackN: Array<JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[]>): JQueryDeferred<T>;
+
+    /**
+     * Call the progressCallbacks on a Deferred object with the given args.
+     * 
+     * @param args Optional arguments that are passed to the progressCallbacks.
+     */
+    notify(value?: any, ...args: any[]): JQueryDeferred<T>;
+
+    /**
+     * Call the progressCallbacks on a Deferred object with the given context and args.
+     * 
+     * @param context Context passed to the progressCallbacks as the this object.
+     * @param args Optional arguments that are passed to the progressCallbacks.
+     */
+    notifyWith(context: any, value?: any[]): JQueryDeferred<T>;
+
+    /**
+     * Reject a Deferred object and call any failCallbacks with the given args.
+     * 
+     * @param args Optional arguments that are passed to the failCallbacks.
+     */
+    reject(value?: any, ...args: any[]): JQueryDeferred<T>;
+    /**
+     * Reject a Deferred object and call any failCallbacks with the given context and args.
+     * 
+     * @param context Context passed to the failCallbacks as the this object.
+     * @param args An optional array of arguments that are passed to the failCallbacks.
+     */
+    rejectWith(context: any, value?: any[]): JQueryDeferred<T>;
+
+    /**
+     * Resolve a Deferred object and call any doneCallbacks with the given args.
+     * 
+     * @param value First argument passed to doneCallbacks.
+     * @param args Optional subsequent arguments that are passed to the doneCallbacks.
+     */
+    resolve(value?: T, ...args: any[]): JQueryDeferred<T>;
+
+    /**
+     * Resolve a Deferred object and call any doneCallbacks with the given context and args.
+     * 
+     * @param context Context passed to the doneCallbacks as the this object.
+     * @param args An optional array of arguments that are passed to the doneCallbacks.
+     */
+    resolveWith(context: any, value?: T[]): JQueryDeferred<T>;
+
+    /**
+     * Return a Deferred's Promise object.
+     * 
+     * @param target Object onto which the promise methods have to be attached
+     */
+    promise(target?: any): JQueryPromise<T>;
+
+    // Deprecated - given no typings
+    pipe(doneFilter?: (x: any) => any, failFilter?: (x: any) => any, progressFilter?: (x: any) => any): JQueryPromise<any>;
+}
+
+/**
+ * Interface of the JQuery extension of the W3C event object
+ */
+interface BaseJQueryEventObject extends Event {
+    currentTarget: Element;
+    data: any;
+    delegateTarget: Element;
+    isDefaultPrevented(): boolean;
+    isImmediatePropagationStopped(): boolean;
+    isPropagationStopped(): boolean;
+    namespace: string;
+    originalEvent: Event;
+    preventDefault(): any;
+    relatedTarget: Element;
+    result: any;
+    stopImmediatePropagation(): void;
+    stopPropagation(): void;
+    target: Element;
+    pageX: number;
+    pageY: number;
+    which: number;
+    metaKey: boolean;
+}
+
+interface JQueryInputEventObject extends BaseJQueryEventObject {
+    altKey: boolean;
+    ctrlKey: boolean;
+    metaKey: boolean;
+    shiftKey: boolean;
+}
+
+interface JQueryMouseEventObject extends JQueryInputEventObject {
+    button: number;
+    clientX: number;
+    clientY: number;
+    offsetX: number;
+    offsetY: number;
+    pageX: number;
+    pageY: number;
+    screenX: number;
+    screenY: number;
+}
+
+interface JQueryKeyEventObject extends JQueryInputEventObject {
+    char: any;
+    charCode: number;
+    key: any;
+    keyCode: number;
+}
+
+interface JQueryEventObject extends BaseJQueryEventObject, JQueryInputEventObject, JQueryMouseEventObject, JQueryKeyEventObject{
+}
+
+/*
+    Collection of properties of the current browser
+*/
+
+interface JQuerySupport {
+    ajax?: boolean;
+    boxModel?: boolean;
+    changeBubbles?: boolean;
+    checkClone?: boolean;
+    checkOn?: boolean;
+    cors?: boolean;
+    cssFloat?: boolean;
+    hrefNormalized?: boolean;
+    htmlSerialize?: boolean;
+    leadingWhitespace?: boolean;
+    noCloneChecked?: boolean;
+    noCloneEvent?: boolean;
+    opacity?: boolean;
+    optDisabled?: boolean;
+    optSelected?: boolean;
+    scriptEval? (): boolean;
+    style?: boolean;
+    submitBubbles?: boolean;
+    tbody?: boolean;
+}
+
+interface JQueryParam {
+    /**
+     * Create a serialized representation of an array or object, suitable for use in a URL query string or Ajax request.
+     * 
+     * @param obj An array or object to serialize.
+     */
+    (obj: any): string;
+
+    /**
+     * Create a serialized representation of an array or object, suitable for use in a URL query string or Ajax request.
+     * 
+     * @param obj An array or object to serialize.
+     * @param traditional A Boolean indicating whether to perform a traditional "shallow" serialization.
+     */
+    (obj: any, traditional: boolean): string;
+}
+
+/**
+ * The interface used to construct jQuery events (with $.Event). It is
+ * defined separately instead of inline in JQueryStatic to allow
+ * overriding the construction function with specific strings
+ * returning specific event objects.
+ */
+interface JQueryEventConstructor {
+    (name: string, eventProperties?: any): JQueryEventObject;
+    new (name: string, eventProperties?: any): JQueryEventObject;
+}
+
+/**
+ * The interface used to specify coordinates.
+ */
+interface JQueryCoordinates {
+    left: number;
+    top: number;
+}
+
+/**
+ * Elements in the array returned by serializeArray()
+ */
+interface JQuerySerializeArrayElement {
+    name: string;
+    value: string;
+}
+
+interface JQueryAnimationOptions { 
+    /**
+     * A string or number determining how long the animation will run.
+     */
+    duration?: any; 
+    /**
+     * A string indicating which easing function to use for the transition.
+     */
+    easing?: string; 
+    /**
+     * A function to call once the animation is complete.
+     */
+    complete?: Function; 
+    /**
+     * A function to be called for each animated property of each animated element. This function provides an opportunity to modify the Tween object to change the value of the property before it is set.
+     */
+    step?: (now: number, tween: any) => any; 
+    /**
+     * A function to be called after each step of the animation, only once per animated element regardless of the number of animated properties. (version added: 1.8)
+     */
+    progress?: (animation: JQueryPromise<any>, progress: number, remainingMs: number) => any; 
+    /**
+     * A function to call when the animation begins. (version added: 1.8)
+     */
+    start?: (animation: JQueryPromise<any>) => any; 
+    /**
+     * A function to be called when the animation completes (its Promise object is resolved). (version added: 1.8)
+     */
+    done?: (animation: JQueryPromise<any>, jumpedToEnd: boolean) => any; 
+    /**
+     * A function to be called when the animation fails to complete (its Promise object is rejected). (version added: 1.8)
+     */
+    fail?: (animation: JQueryPromise<any>, jumpedToEnd: boolean) => any; 
+    /**
+     * A function to be called when the animation completes or stops without completing (its Promise object is either resolved or rejected). (version added: 1.8)
+     */
+    always?: (animation: JQueryPromise<any>, jumpedToEnd: boolean) => any; 
+    /**
+     * A Boolean indicating whether to place the animation in the effects queue. If false, the animation will begin immediately. As of jQuery 1.7, the queue option can also accept a string, in which case the animation is added to the queue represented by that string. When a custom queue name is used the animation does not automatically start; you must call .dequeue("queuename") to start it.
+     */
+    queue?: any; 
+    /**
+     * A map of one or more of the CSS properties defined by the properties argument and their corresponding easing functions. (version added: 1.4)
+     */
+    specialEasing?: Object;
+}
+
+interface JQueryEasingFunction {
+    ( percent: number ): number;
+}
+
+interface JQueryEasingFunctions {
+    [ name: string ]: JQueryEasingFunction;
+    linear: JQueryEasingFunction;
+    swing: JQueryEasingFunction;
+}
+
+/**
+ * Static members of jQuery (those on $ and jQuery themselves)
+ */
+interface JQueryStatic {
+
+    /**
+     * Perform an asynchronous HTTP (Ajax) request.
+     *
+     * @param settings A set of key/value pairs that configure the Ajax request. All settings are optional. A default can be set for any option with $.ajaxSetup().
+     */
+    ajax(settings: JQueryAjaxSettings): JQueryXHR;
+    /**
+     * Perform an asynchronous HTTP (Ajax) request.
+     *
+     * @param url A string containing the URL to which the request is sent.
+     * @param settings A set of key/value pairs that configure the Ajax request. All settings are optional. A default can be set for any option with $.ajaxSetup().
+     */
+    ajax(url: string, settings?: JQueryAjaxSettings): JQueryXHR;
+
+    /**
+     * Handle custom Ajax options or modify existing options before each request is sent and before they are processed by $.ajax().
+     *
+     * @param dataTypes An optional string containing one or more space-separated dataTypes
+     * @param handler A handler to set default values for future Ajax requests.
+     */
+    ajaxPrefilter(dataTypes: string, handler: (opts: any, originalOpts: JQueryAjaxSettings, jqXHR: JQueryXHR) => any): void;
+    /**
+     * Handle custom Ajax options or modify existing options before each request is sent and before they are processed by $.ajax().
+     *
+     * @param handler A handler to set default values for future Ajax requests.
+     */
+    ajaxPrefilter(handler: (opts: any, originalOpts: JQueryAjaxSettings, jqXHR: JQueryXHR) => any): void;
+
+    ajaxSettings: JQueryAjaxSettings;
+
+     /**
+      * Set default values for future Ajax requests. Its use is not recommended.
+      *
+      * @param options A set of key/value pairs that configure the default Ajax request. All options are optional.
+      */
+    ajaxSetup(options: JQueryAjaxSettings): void;
+
+    /**
+     * Load data from the server using a HTTP GET request.
+     *
+     * @param url A string containing the URL to which the request is sent.
+     * @param success A callback function that is executed if the request succeeds.
+     * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, or html).
+     */
+    get(url: string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any, dataType?: string): JQueryXHR;
+    /**
+     * Load data from the server using a HTTP GET request.
+     *
+     * @param url A string containing the URL to which the request is sent.
+     * @param data A plain object or string that is sent to the server with the request.
+     * @param success A callback function that is executed if the request succeeds.
+     * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, or html).
+     */
+    get(url: string, data?: Object|string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any, dataType?: string): JQueryXHR;
+    /**
+     * Load data from the server using a HTTP GET request.
+     *
+     * @param settings The JQueryAjaxSettings to be used for the request
+     */
+    get(settings : JQueryAjaxSettings): JQueryXHR;
+    /**
+     * Load JSON-encoded data from the server using a GET HTTP request.
+     *
+     * @param url A string containing the URL to which the request is sent.
+     * @param success A callback function that is executed if the request succeeds.
+     */
+    getJSON(url: string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any): JQueryXHR;
+    /**
+     * Load JSON-encoded data from the server using a GET HTTP request.
+     *
+     * @param url A string containing the URL to which the request is sent.
+     * @param data A plain object or string that is sent to the server with the request.
+     * @param success A callback function that is executed if the request succeeds.
+     */
+    getJSON(url: string, data?: Object|string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any): JQueryXHR;
+    /**
+     * Load a JavaScript file from the server using a GET HTTP request, then execute it.
+     *
+     * @param url A string containing the URL to which the request is sent.
+     * @param success A callback function that is executed if the request succeeds.
+     */
+    getScript(url: string, success?: (script: string, textStatus: string, jqXHR: JQueryXHR) => any): JQueryXHR;
+
+    /**
+     * Create a serialized representation of an array or object, suitable for use in a URL query string or Ajax request.
+     */
+    param: JQueryParam;
+
+    /**
+     * Load data from the server using a HTTP POST request.
+     *
+     * @param url A string containing the URL to which the request is sent.
+     * @param success A callback function that is executed if the request succeeds. Required if dataType is provided, but can be null in that case.
+     * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html).
+     */
+    post(url: string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any, dataType?: string): JQueryXHR;
+    /**
+     * Load data from the server using a HTTP POST request.
+     *
+     * @param url A string containing the URL to which the request is sent.
+     * @param data A plain object or string that is sent to the server with the request.
+     * @param success A callback function that is executed if the request succeeds. Required if dataType is provided, but can be null in that case.
+     * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html).
+     */
+    post(url: string, data?: Object|string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any, dataType?: string): JQueryXHR;
+    /**
+     * Load data from the server using a HTTP POST request.
+     *
+     * @param settings The JQueryAjaxSettings to be used for the request
+     */
+    post(settings : JQueryAjaxSettings): JQueryXHR;
+    /**
+     * A multi-purpose callbacks list object that provides a powerful way to manage callback lists.
+     *
+     * @param flags An optional list of space-separated flags that change how the callback list behaves.
+     */
+    Callbacks(flags?: string): JQueryCallback;
+
+    /**
+     * Holds or releases the execution of jQuery's ready event.
+     *
+     * @param hold Indicates whether the ready hold is being requested or released
+     */
+    holdReady(hold: boolean): void;
+
+    /**
+     * Accepts a string containing a CSS selector which is then used to match a set of elements.
+     *
+     * @param selector A string containing a selector expression
+     * @param context A DOM Element, Document, or jQuery to use as context
+     */
+    (selector: string, context?: Element|JQuery): JQuery;
+
+    /**
+     * Accepts a string containing a CSS selector which is then used to match a set of elements.
+     *
+     * @param element A DOM element to wrap in a jQuery object.
+     */
+    (element: Element): JQuery;
+
+    /**
+     * Accepts a string containing a CSS selector which is then used to match a set of elements.
+     *
+     * @param elementArray An array containing a set of DOM elements to wrap in a jQuery object.
+     */
+    (elementArray: Element[]): JQuery;
+
+    /**
+     * Binds a function to be executed when the DOM has finished loading.
+     *
+     * @param callback A function to execute after the DOM is ready.
+     */
+    (callback: (jQueryAlias?: JQueryStatic) => any): JQuery;
+
+    /**
+     * Accepts a string containing a CSS selector which is then used to match a set of elements.
+     *
+     * @param object A plain object to wrap in a jQuery object.
+     */
+    (object: {}): JQuery;
+
+    /**
+     * Accepts a string containing a CSS selector which is then used to match a set of elements.
+     *
+     * @param object An existing jQuery object to clone.
+     */
+    (object: JQuery): JQuery;
+
+    /**
+     * Specify a function to execute when the DOM is fully loaded.
+     */
+    (): JQuery;
+
+    /**
+     * Creates DOM elements on the fly from the provided string of raw HTML.
+     *
+     * @param html A string of HTML to create on the fly. Note that this parses HTML, not XML.
+     * @param ownerDocument A document in which the new elements will be created.
+     */
+    (html: string, ownerDocument?: Document): JQuery;
+
+    /**
+     * Creates DOM elements on the fly from the provided string of raw HTML.
+     *
+     * @param html A string defining a single, standalone, HTML element (e.g. <div/> or <div></div>).
+     * @param attributes An object of attributes, events, and methods to call on the newly-created element.
+     */
+    (html: string, attributes: Object): JQuery;
+
+    /**
+     * Relinquish jQuery's control of the $ variable.
+     *
+     * @param removeAll A Boolean indicating whether to remove all jQuery variables from the global scope (including jQuery itself).
+     */
+    noConflict(removeAll?: boolean): JQueryStatic;
+
+    /**
+     * Provides a way to execute callback functions based on one or more objects, usually Deferred objects that represent asynchronous events.
+     *
+     * @param deferreds One or more Deferred objects, or plain JavaScript objects.
+     */
+    when<T>(...deferreds: Array<T|JQueryPromise<T>/* as JQueryDeferred<T> */>): JQueryPromise<T>;
+
+    /**
+     * Hook directly into jQuery to override how particular CSS properties are retrieved or set, normalize CSS property naming, or create custom properties.
+     */
+    cssHooks: { [key: string]: any; };
+    cssNumber: any;
+
+    /**
+     * Store arbitrary data associated with the specified element. Returns the value that was set.
+     *
+     * @param element The DOM element to associate with the data.
+     * @param key A string naming the piece of data to set.
+     * @param value The new data value.
+     */
+    data<T>(element: Element, key: string, value: T): T;
+    /**
+     * Returns value at named data store for the element, as set by jQuery.data(element, name, value), or the full data store for the element.
+     *
+     * @param element The DOM element to associate with the data.
+     * @param key A string naming the piece of data to set.
+     */
+    data(element: Element, key: string): any;
+    /**
+     * Returns value at named data store for the element, as set by jQuery.data(element, name, value), or the full data store for the element.
+     *
+     * @param element The DOM element to associate with the data.
+     */
+    data(element: Element): any;
+
+    /**
+     * Execute the next function on the queue for the matched element.
+     *
+     * @param element A DOM element from which to remove and execute a queued function.
+     * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.
+     */
+    dequeue(element: Element, queueName?: string): void;
+
+    /**
+     * Determine whether an element has any jQuery data associated with it.
+     *
+     * @param element A DOM element to be checked for data.
+     */
+    hasData(element: Element): boolean;
+
+    /**
+     * Show the queue of functions to be executed on the matched element.
+     *
+     * @param element A DOM element to inspect for an attached queue.
+     * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.
+     */
+    queue(element: Element, queueName?: string): any[];
+    /**
+     * Manipulate the queue of functions to be executed on the matched element.
+     *
+     * @param element A DOM element where the array of queued functions is attached.
+     * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.
+     * @param newQueue An array of functions to replace the current queue contents.
+     */
+    queue(element: Element, queueName: string, newQueue: Function[]): JQuery;
+    /**
+     * Manipulate the queue of functions to be executed on the matched element.
+     *
+     * @param element A DOM element on which to add a queued function.
+     * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.
+     * @param callback The new function to add to the queue.
+     */
+    queue(element: Element, queueName: string, callback: Function): JQuery;
+
+    /**
+     * Remove a previously-stored piece of data.
+     *
+     * @param element A DOM element from which to remove data.
+     * @param name A string naming the piece of data to remove.
+     */
+    removeData(element: Element, name?: string): JQuery;
+
+    /**
+     * A constructor function that returns a chainable utility object with methods to register multiple callbacks into callback queues, invoke callback queues, and relay the success or failure state of any synchronous or asynchronous function.
+     *
+     * @param beforeStart A function that is called just before the constructor returns.
+     */
+    Deferred<T>(beforeStart?: (deferred: JQueryDeferred<T>) => any): JQueryDeferred<T>;
+
+    /**
+     * Effects
+     */
+
+    easing: JQueryEasingFunctions;
+
+    fx: {
+        tick: () => void;
+        /**
+         * The rate (in milliseconds) at which animations fire.
+         */
+        interval: number;
+        stop: () => void;
+        speeds: { slow: number; fast: number; };
+        /**
+         * Globally disable all animations.
+         */
+        off: boolean;
+        step: any;
+    };
+
+    /**
+     * Takes a function and returns a new one that will always have a particular context.
+     *
+     * @param fnction The function whose context will be changed.
+     * @param context The object to which the context (this) of the function should be set.
+     * @param additionalArguments Any number of arguments to be passed to the function referenced in the function argument.
+     */
+    proxy(fnction: (...args: any[]) => any, context: Object, ...additionalArguments: any[]): any;
+    /**
+     * Takes a function and returns a new one that will always have a particular context.
+     *
+     * @param context The object to which the context (this) of the function should be set.
+     * @param name The name of the function whose context will be changed (should be a property of the context object).
+     * @param additionalArguments Any number of arguments to be passed to the function named in the name argument.
+     */
+    proxy(context: Object, name: string, ...additionalArguments: any[]): any;
+
+    Event: JQueryEventConstructor;
+
+    /**
+     * Takes a string and throws an exception containing it.
+     *
+     * @param message The message to send out.
+     */
+    error(message: any): JQuery;
+
+    expr: any;
+    fn: any;  //TODO: Decide how we want to type this
+
+    isReady: boolean;
+
+    // Properties
+    support: JQuerySupport;
+
+    /**
+     * Check to see if a DOM element is a descendant of another DOM element.
+     * 
+     * @param container The DOM element that may contain the other element.
+     * @param contained The DOM element that may be contained by (a descendant of) the other element.
+     */
+    contains(container: Element, contained: Element): boolean;
+
+    /**
+     * A generic iterator function, which can be used to seamlessly iterate over both objects and arrays. Arrays and array-like objects with a length property (such as a function's arguments object) are iterated by numeric index, from 0 to length-1. Other objects are iterated via their named properties.
+     * 
+     * @param collection The object or array to iterate over.
+     * @param callback The function that will be executed on every object.
+     */
+    each<T>(
+        collection: T[],
+        callback: (indexInArray: number, valueOfElement: T) => any
+        ): any;
+
+    /**
+     * A generic iterator function, which can be used to seamlessly iterate over both objects and arrays. Arrays and array-like objects with a length property (such as a function's arguments object) are iterated by numeric index, from 0 to length-1. Other objects are iterated via their named properties.
+     * 
+     * @param collection The object or array to iterate over.
+     * @param callback The function that will be executed on every object.
+     */
+    each(
+        collection: any,
+        callback: (indexInArray: any, valueOfElement: any) => any
+        ): any;
+
+    /**
+     * Merge the contents of two or more objects together into the first object.
+     *
+     * @param target An object that will receive the new properties if additional objects are passed in or that will extend the jQuery namespace if it is the sole argument.
+     * @param object1 An object containing additional properties to merge in.
+     * @param objectN Additional objects containing properties to merge in.
+     */
+    extend(target: any, object1?: any, ...objectN: any[]): any;
+    /**
+     * Merge the contents of two or more objects together into the first object.
+     *
+     * @param deep If true, the merge becomes recursive (aka. deep copy).
+     * @param target The object to extend. It will receive the new properties.
+     * @param object1 An object containing additional properties to merge in.
+     * @param objectN Additional objects containing properties to merge in.
+     */
+    extend(deep: boolean, target: any, object1?: any, ...objectN: any[]): any;
+
+    /**
+     * Execute some JavaScript code globally.
+     *
+     * @param code The JavaScript code to execute.
+     */
+    globalEval(code: string): any;
+
+    /**
+     * Finds the elements of an array which satisfy a filter function. The original array is not affected.
+     *
+     * @param array The array to search through.
+     * @param func The function to process each item against. The first argument to the function is the item, and the second argument is the index. The function should return a Boolean value.  this will be the global window object.
+     * @param invert If "invert" is false, or not provided, then the function returns an array consisting of all elements for which "callback" returns true. If "invert" is true, then the function returns an array consisting of all elements for which "callback" returns false.
+     */
+    grep<T>(array: T[], func: (elementOfArray?: T, indexInArray?: number) => boolean, invert?: boolean): T[];
+
+    /**
+     * Search for a specified value within an array and return its index (or -1 if not found).
+     *
+     * @param value The value to search for.
+     * @param array An array through which to search.
+     * @param fromIndex he index of the array at which to begin the search. The default is 0, which will search the whole array.
+     */
+    inArray<T>(value: T, array: T[], fromIndex?: number): number;
+
+    /**
+     * Determine whether the argument is an array.
+     *
+     * @param obj Object to test whether or not it is an array.
+     */
+    isArray(obj: any): boolean;
+    /**
+     * Check to see if an object is empty (contains no enumerable properties).
+     *
+     * @param obj The object that will be checked to see if it's empty.
+     */
+    isEmptyObject(obj: any): boolean;
+    /**
+     * Determine if the argument passed is a Javascript function object.
+     *
+     * @param obj Object to test whether or not it is a function.
+     */
+    isFunction(obj: any): boolean;
+    /**
+     * Determines whether its argument is a number.
+     *
+     * @param obj The value to be tested.
+     */
+    isNumeric(value: any): boolean;
+    /**
+     * Check to see if an object is a plain object (created using "{}" or "new Object").
+     *
+     * @param obj The object that will be checked to see if it's a plain object.
+     */
+    isPlainObject(obj: any): boolean;
+    /**
+     * Determine whether the argument is a window.
+     *
+     * @param obj Object to test whether or not it is a window.
+     */
+    isWindow(obj: any): boolean;
+    /**
+     * Check to see if a DOM node is within an XML document (or is an XML document).
+     *
+     * @param node he DOM node that will be checked to see if it's in an XML document.
+     */
+    isXMLDoc(node: Node): boolean;
+
+    /**
+     * Convert an array-like object into a true JavaScript array.
+     * 
+     * @param obj Any object to turn into a native Array.
+     */
+    makeArray(obj: any): any[];
+
+    /**
+     * Translate all items in an array or object to new array of items.
+     * 
+     * @param array The Array to translate.
+     * @param callback The function to process each item against. The first argument to the function is the array item, the second argument is the index in array The function can return any value. Within the function, this refers to the global (window) object.
+     */
+    map<T, U>(array: T[], callback: (elementOfArray?: T, indexInArray?: number) => U): U[];
+    /**
+     * Translate all items in an array or object to new array of items.
+     * 
+     * @param arrayOrObject The Array or Object to translate.
+     * @param callback The function to process each item against. The first argument to the function is the value; the second argument is the index or key of the array or object property. The function can return any value to add to the array. A returned array will be flattened into the resulting array. Within the function, this refers to the global (window) object.
+     */
+    map(arrayOrObject: any, callback: (value?: any, indexOrKey?: any) => any): any;
+
+    /**
+     * Merge the contents of two arrays together into the first array.
+     * 
+     * @param first The first array to merge, the elements of second added.
+     * @param second The second array to merge into the first, unaltered.
+     */
+    merge<T>(first: T[], second: T[]): T[];
+
+    /**
+     * An empty function.
+     */
+    noop(): any;
+
+    /**
+     * Return a number representing the current time.
+     */
+    now(): number;
+
+    /**
+     * Takes a well-formed JSON string and returns the resulting JavaScript object.
+     * 
+     * @param json The JSON string to parse.
+     */
+    parseJSON(json: string): any;
+
+    /**
+     * Parses a string into an XML document.
+     *
+     * @param data a well-formed XML string to be parsed
+     */
+    parseXML(data: string): XMLDocument;
+
+    /**
+     * Remove the whitespace from the beginning and end of a string.
+     * 
+     * @param str Remove the whitespace from the beginning and end of a string.
+     */
+    trim(str: string): string;
+
+    /**
+     * Determine the internal JavaScript [[Class]] of an object.
+     * 
+     * @param obj Object to get the internal JavaScript [[Class]] of.
+     */
+    type(obj: any): string;
+
+    /**
+     * Sorts an array of DOM elements, in place, with the duplicates removed. Note that this only works on arrays of DOM elements, not strings or numbers.
+     * 
+     * @param array The Array of DOM elements.
+     */
+    unique(array: Element[]): Element[];
+
+    /**
+     * Parses a string into an array of DOM nodes.
+     *
+     * @param data HTML string to be parsed
+     * @param context DOM element to serve as the context in which the HTML fragment will be created
+     * @param keepScripts A Boolean indicating whether to include scripts passed in the HTML string
+     */
+    parseHTML(data: string, context?: HTMLElement, keepScripts?: boolean): any[];
+
+    /**
+     * Parses a string into an array of DOM nodes.
+     *
+     * @param data HTML string to be parsed
+     * @param context DOM element to serve as the context in which the HTML fragment will be created
+     * @param keepScripts A Boolean indicating whether to include scripts passed in the HTML string
+     */
+    parseHTML(data: string, context?: Document, keepScripts?: boolean): any[];
+}
+
+/**
+ * The jQuery instance members
+ */
+interface JQuery {
+    /**
+     * Register a handler to be called when Ajax requests complete. This is an AjaxEvent.
+     *
+     * @param handler The function to be invoked.
+     */
+    ajaxComplete(handler: (event: JQueryEventObject, XMLHttpRequest: XMLHttpRequest, ajaxOptions: any) => any): JQuery;
+    /**
+     * Register a handler to be called when Ajax requests complete with an error. This is an Ajax Event.
+     *
+     * @param handler The function to be invoked.
+     */
+    ajaxError(handler: (event: JQueryEventObject, jqXHR: JQueryXHR, ajaxSettings: JQueryAjaxSettings, thrownError: any) => any): JQuery;
+    /**
+     * Attach a function to be executed before an Ajax request is sent. This is an Ajax Event.
+     *
+     * @param handler The function to be invoked.
+     */
+    ajaxSend(handler: (event: JQueryEventObject, jqXHR: JQueryXHR, ajaxOptions: JQueryAjaxSettings) => any): JQuery;
+    /**
+     * Register a handler to be called when the first Ajax request begins. This is an Ajax Event.
+     *
+     * @param handler The function to be invoked.
+     */
+    ajaxStart(handler: () => any): JQuery;
+    /**
+     * Register a handler to be called when all Ajax requests have completed. This is an Ajax Event.
+     *
+     * @param handler The function to be invoked.
+     */
+    ajaxStop(handler: () => any): JQuery;
+    /**
+     * Attach a function to be executed whenever an Ajax request completes successfully. This is an Ajax Event.
+     *
+     * @param handler The function to be invoked.
+     */
+    ajaxSuccess(handler: (event: JQueryEventObject, XMLHttpRequest: XMLHttpRequest, ajaxOptions: JQueryAjaxSettings) => any): JQuery;
+
+    /**
+     * Load data from the server and place the returned HTML into the matched element.
+     *
+     * @param url A string containing the URL to which the request is sent.
+     * @param data A plain object or string that is sent to the server with the request.
+     * @param complete A callback function that is executed when the request completes.
+     */
+    load(url: string, data?: string|Object, complete?: (responseText: string, textStatus: string, XMLHttpRequest: XMLHttpRequest) => any): JQuery;
+
+    /**
+     * Encode a set of form elements as a string for submission.
+     */
+    serialize(): string;
+    /**
+     * Encode a set of form elements as an array of names and values.
+     */
+    serializeArray(): JQuerySerializeArrayElement[];
+
+    /**
+     * Adds the specified class(es) to each of the set of matched elements.
+     *
+     * @param className One or more space-separated classes to be added to the class attribute of each matched element.
+     */
+    addClass(className: string): JQuery;
+    /**
+     * Adds the specified class(es) to each of the set of matched elements.
+     *
+     * @param function A function returning one or more space-separated class names to be added to the existing class name(s). Receives the index position of the element in the set and the existing class name(s) as arguments. Within the function, this refers to the current element in the set.
+     */
+    addClass(func: (index: number, className: string) => string): JQuery;
+
+    /**
+     * Add the previous set of elements on the stack to the current set, optionally filtered by a selector.
+     */
+    addBack(selector?: string): JQuery;
+
+    /**
+     * Get the value of an attribute for the first element in the set of matched elements.
+     *
+     * @param attributeName The name of the attribute to get.
+     */
+    attr(attributeName: string): string;
+    /**
+     * Set one or more attributes for the set of matched elements.
+     *
+     * @param attributeName The name of the attribute to set.
+     * @param value A value to set for the attribute.
+     */
+    attr(attributeName: string, value: string|number): JQuery;
+    /**
+     * Set one or more attributes for the set of matched elements.
+     *
+     * @param attributeName The name of the attribute to set.
+     * @param func A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old attribute value as arguments.
+     */
+    attr(attributeName: string, func: (index: number, attr: string) => string|number): JQuery;
+    /**
+     * Set one or more attributes for the set of matched elements.
+     *
+     * @param attributes An object of attribute-value pairs to set.
+     */
+    attr(attributes: Object): JQuery;
+    
+    /**
+     * Determine whether any of the matched elements are assigned the given class.
+     *
+     * @param className The class name to search for.
+     */
+    hasClass(className: string): boolean;
+
+    /**
+     * Get the HTML contents of the first element in the set of matched elements.
+     */
+    html(): string;
+    /**
+     * Set the HTML contents of each element in the set of matched elements.
+     *
+     * @param htmlString A string of HTML to set as the content of each matched element.
+     */
+    html(htmlString: string): JQuery;
+    /**
+     * Set the HTML contents of each element in the set of matched elements.
+     *
+     * @param func A function returning the HTML content to set. Receives the index position of the element in the set and the old HTML value as arguments. jQuery empties the element before calling the function; use the oldhtml argument to reference the previous content. Within the function, this refers to the current element in the set.
+     */
+    html(func: (index: number, oldhtml: string) => string): JQuery;
+    /**
+     * Set the HTML contents of each element in the set of matched elements.
+     *
+     * @param func A function returning the HTML content to set. Receives the index position of the element in the set and the old HTML value as arguments. jQuery empties the element before calling the function; use the oldhtml argument to reference the previous content. Within the function, this refers to the current element in the set.
+     */
+
+    /**
+     * Get the value of a property for the first element in the set of matched elements.
+     *
+     * @param propertyName The name of the property to get.
+     */
+    prop(propertyName: string): any;
+    /**
+     * Set one or more properties for the set of matched elements.
+     *
+     * @param propertyName The name of the property to set.
+     * @param value A value to set for the property.
+     */
+    prop(propertyName: string, value: string|number|boolean): JQuery;
+    /**
+     * Set one or more properties for the set of matched elements.
+     *
+     * @param properties An object of property-value pairs to set.
+     */
+    prop(properties: Object): JQuery;
+    /**
+     * Set one or more properties for the set of matched elements.
+     *
+     * @param propertyName The name of the property to set.
+     * @param func A function returning the value to set. Receives the index position of the element in the set and the old property value as arguments. Within the function, the keyword this refers to the current element.
+     */
+    prop(propertyName: string, func: (index: number, oldPropertyValue: any) => any): JQuery;
+
+    /**
+     * Remove an attribute from each element in the set of matched elements.
+     *
+     * @param attributeName An attribute to remove; as of version 1.7, it can be a space-separated list of attributes.
+     */
+    removeAttr(attributeName: string): JQuery;
+
+    /**
+     * Remove a single class, multiple classes, or all classes from each element in the set of matched elements.
+     *
+     * @param className One or more space-separated classes to be removed from the class attribute of each matched element.
+     */
+    removeClass(className?: string): JQuery;
+    /**
+     * Remove a single class, multiple classes, or all classes from each element in the set of matched elements.
+     *
+     * @param function A function returning one or more space-separated class names to be removed. Receives the index position of the element in the set and the old class value as arguments.
+     */
+    removeClass(func: (index: number, className: string) => string): JQuery;
+
+    /**
+     * Remove a property for the set of matched elements.
+     *
+     * @param propertyName The name of the property to remove.
+     */
+    removeProp(propertyName: string): JQuery;
+
+    /**
+     * Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument.
+     *
+     * @param className One or more class names (separated by spaces) to be toggled for each element in the matched set.
+     * @param swtch A Boolean (not just truthy/falsy) value to determine whether the class should be added or removed.
+     */
+    toggleClass(className: string, swtch?: boolean): JQuery;
+    /**
+     * Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument.
+     *
+     * @param swtch A boolean value to determine whether the class should be added or removed.
+     */
+    toggleClass(swtch?: boolean): JQuery;
+    /**
+     * Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument.
+     *
+     * @param func A function that returns class names to be toggled in the class attribute of each element in the matched set. Receives the index position of the element in the set, the old class value, and the switch as arguments.
+     * @param swtch A boolean value to determine whether the class should be added or removed.
+     */
+    toggleClass(func: (index: number, className: string, swtch: boolean) => string, swtch?: boolean): JQuery;
+
+    /**
+     * Get the current value of the first element in the set of matched elements.
+     */
+    val(): any;
+    /**
+     * Set the value of each element in the set of matched elements.
+     *
+     * @param value A string of text, an array of strings or number corresponding to the value of each matched element to set as selected/checked.
+     */
+    val(value: string|string[]|number): JQuery;
+    /**
+     * Set the value of each element in the set of matched elements.
+     *
+     * @param func A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old value as arguments.
+     */
+    val(func: (index: number, value: string) => string): JQuery;
+
+
+    /**
+     * Get the value of style properties for the first element in the set of matched elements.
+     *
+     * @param propertyName A CSS property.
+     */
+    css(propertyName: string): string;
+    /**
+     * Set one or more CSS properties for the set of matched elements.
+     *
+     * @param propertyName A CSS property name.
+     * @param value A value to set for the property.
+     */
+    css(propertyName: string, value: string|number): JQuery;
+    /**
+     * Set one or more CSS properties for the set of matched elements.
+     *
+     * @param propertyName A CSS property name.
+     * @param value A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old value as arguments.
+     */
+    css(propertyName: string, value: (index: number, value: string) => string|number): JQuery;
+    /**
+     * Set one or more CSS properties for the set of matched elements.
+     *
+     * @param properties An object of property-value pairs to set.
+     */
+    css(properties: Object): JQuery;
+
+    /**
+     * Get the current computed height for the first element in the set of matched elements.
+     */
+    height(): number;
+    /**
+     * Set the CSS height of every matched element.
+     *
+     * @param value An integer representing the number of pixels, or an integer with an optional unit of measure appended (as a string).
+     */
+    height(value: number|string): JQuery;
+    /**
+     * Set the CSS height of every matched element.
+     *
+     * @param func A function returning the height to set. Receives the index position of the element in the set and the old height as arguments. Within the function, this refers to the current element in the set.
+     */
+    height(func: (index: number, height: number) => number|string): JQuery;
+
+    /**
+     * Get the current computed height for the first element in the set of matched elements, including padding but not border.
+     */
+    innerHeight(): number;
+
+    /**
+     * Sets the inner height on elements in the set of matched elements, including padding but not border.
+     *
+     * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).
+     */
+    innerHeight(height: number|string): JQuery;
+    
+    /**
+     * Get the current computed width for the first element in the set of matched elements, including padding but not border.
+     */
+    innerWidth(): number;
+
+    /**
+     * Sets the inner width on elements in the set of matched elements, including padding but not border.
+     *
+     * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).
+     */
+    innerWidth(width: number|string): JQuery;
+    
+    /**
+     * Get the current coordinates of the first element in the set of matched elements, relative to the document.
+     */
+    offset(): JQueryCoordinates;
+    /**
+     * An object containing the properties top and left, which are integers indicating the new top and left coordinates for the elements.
+     *
+     * @param coordinates An object containing the properties top and left, which are integers indicating the new top and left coordinates for the elements.
+     */
+    offset(coordinates: JQueryCoordinates): JQuery;
+    /**
+     * An object containing the properties top and left, which are integers indicating the new top and left coordinates for the elements.
+     *
+     * @param func A function to return the coordinates to set. Receives the index of the element in the collection as the first argument and the current coordinates as the second argument. The function should return an object with the new top and left properties.
+     */
+    offset(func: (index: number, coords: JQueryCoordinates) => JQueryCoordinates): JQuery;
+
+    /**
+     * Get the current computed height for the first element in the set of matched elements, including padding, border, and optionally margin. Returns an integer (without "px") representation of the value or null if called on an empty set of elements.
+     *
+     * @param includeMargin A Boolean indicating whether to include the element's margin in the calculation.
+     */
+    outerHeight(includeMargin?: boolean): number;
+
+    /**
+     * Sets the outer height on elements in the set of matched elements, including padding and border.
+     *
+     * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).
+     */
+    outerHeight(height: number|string): JQuery;
+
+    /**
+     * Get the current computed width for the first element in the set of matched elements, including padding and border.
+     *
+     * @param includeMargin A Boolean indicating whether to include the element's margin in the calculation.
+     */
+    outerWidth(includeMargin?: boolean): number;
+
+    /**
+     * Sets the outer width on elements in the set of matched elements, including padding and border.
+     *
+     * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).
+     */
+    outerWidth(width: number|string): JQuery;
+
+    /**
+     * Get the current coordinates of the first element in the set of matched elements, relative to the offset parent.
+     */
+    position(): JQueryCoordinates;
+
+    /**
+     * Get the current horizontal position of the scroll bar for the first element in the set of matched elements or set the horizontal position of the scroll bar for every matched element.
+     */
+    scrollLeft(): number;
+    /**
+     * Set the current horizontal position of the scroll bar for each of the set of matched elements.
+     *
+     * @param value An integer indicating the new position to set the scroll bar to.
+     */
+    scrollLeft(value: number): JQuery;
+
+    /**
+     * Get the current vertical position of the scroll bar for the first element in the set of matched elements or set the vertical position of the scroll bar for every matched element.
+     */
+    scrollTop(): number;
+    /**
+     * Set the current vertical position of the scroll bar for each of the set of matched elements.
+     *
+     * @param value An integer indicating the new position to set the scroll bar to.
+     */
+    scrollTop(value: number): JQuery;
+
+    /**
+     * Get the current computed width for the first element in the set of matched elements.
+     */
+    width(): number;
+    /**
+     * Set the CSS width of each element in the set of matched elements.
+     *
+     * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).
+     */
+    width(value: number|string): JQuery;
+    /**
+     * Set the CSS width of each element in the set of matched elements.
+     *
+     * @param func A function returning the width to set. Receives the index position of the element in the set and the old width as arguments. Within the function, this refers to the current element in the set.
+     */
+    width(func: (index: number, width: number) => number|string): JQuery;
+
+    /**
+     * Remove from the queue all items that have not yet been run.
+     *
+     * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.
+     */
+    clearQueue(queueName?: string): JQuery;
+
+    /**
+     * Store arbitrary data associated with the matched elements.
+     *
+     * @param key A string naming the piece of data to set.
+     * @param value The new data value; it can be any Javascript type including Array or Object.
+     */
+    data(key: string, value: any): JQuery;
+    /**
+     * Return the value at the named data store for the first element in the jQuery collection, as set by data(name, value) or by an HTML5 data-* attribute.
+     *
+     * @param key Name of the data stored.
+     */
+    data(key: string): any;
+    /**
+     * Store arbitrary data associated with the matched elements.
+     *
+     * @param obj An object of key-value pairs of data to update.
+     */
+    data(obj: { [key: string]: any; }): JQuery;
+    /**
+     * Return the value at the named data store for the first element in the jQuery collection, as set by data(name, value) or by an HTML5 data-* attribute.
+     */
+    data(): any;
+
+    /**
+     * Execute the next function on the queue for the matched elements.
+     *
+     * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.
+     */
+    dequeue(queueName?: string): JQuery;
+
+    /**
+     * Remove a previously-stored piece of data.
+     *
+     * @param name A string naming the piece of data to delete or space-separated string naming the pieces of data to delete.
+     */
+    removeData(name: string): JQuery;
+    /**
+     * Remove a previously-stored piece of data.
+     *
+     * @param list An array of strings naming the pieces of data to delete.
+     */
+    removeData(list: string[]): JQuery;
+    /**
+     * Remove all previously-stored piece of data.
+     */
+    removeData(): JQuery;
+
+    /**
+     * Return a Promise object to observe when all actions of a certain type bound to the collection, queued or not, have finished.
+     *
+     * @param type The type of queue that needs to be observed. (default: fx)
+     * @param target Object onto which the promise methods have to be attached
+     */
+    promise(type?: string, target?: Object): JQueryPromise<any>;
+
+    /**
+     * Perform a custom animation of a set of CSS properties.
+     *
+     * @param properties An object of CSS properties and values that the animation will move toward.
+     * @param duration A string or number determining how long the animation will run.
+     * @param complete A function to call once the animation is complete.
+     */
+    animate(properties: Object, duration?: string|number, complete?: Function): JQuery;
+    /**
+     * Perform a custom animation of a set of CSS properties.
+     *
+     * @param properties An object of CSS properties and values that the animation will move toward.
+     * @param duration A string or number determining how long the animation will run.
+     * @param easing A string indicating which easing function to use for the transition. (default: swing)
+     * @param complete A function to call once the animation is complete.
+     */
+    animate(properties: Object, duration?: string|number, easing?: string, complete?: Function): JQuery;
+    /**
+     * Perform a custom animation of a set of CSS properties.
+     *
+     * @param properties An object of CSS properties and values that the animation will move toward.
+     * @param options A map of additional options to pass to the method.
+     */
+    animate(properties: Object, options: JQueryAnimationOptions): JQuery;
+
+    /**
+     * Set a timer to delay execution of subsequent items in the queue.
+     *
+     * @param duration An integer indicating the number of milliseconds to delay execution of the next item in the queue.
+     * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.
+     */
+    delay(duration: number, queueName?: string): JQuery;
+
+    /**
+     * Display the matched elements by fading them to opaque.
+     *
+     * @param duration A string or number determining how long the animation will run.
+     * @param complete A function to call once the animation is complete.
+     */
+    fadeIn(duration?: number|string, complete?: Function): JQuery;
+    /**
+     * Display the matched elements by fading them to opaque.
+     *
+     * @param duration A string or number determining how long the animation will run.
+     * @param easing A string indicating which easing function to use for the transition.
+     * @param complete A function to call once the animation is complete.
+     */
+    fadeIn(duration?: number|string, easing?: string, complete?: Function): JQuery;
+    /**
+     * Display the matched elements by fading them to opaque.
+     *
+     * @param options A map of additional options to pass to the method.
+     */
+    fadeIn(options: JQueryAnimationOptions): JQuery;
+
+    /**
+     * Hide the matched elements by fading them to transparent.
+     *
+     * @param duration A string or number determining how long the animation will run.
+     * @param complete A function to call once the animation is complete.
+     */
+    fadeOut(duration?: number|string, complete?: Function): JQuery;
+    /**
+     * Hide the matched elements by fading them to transparent.
+     *
+     * @param duration A string or number determining how long the animation will run.
+     * @param easing A string indicating which easing function to use for the transition.
+     * @param complete A function to call once the animation is complete.
+     */
+    fadeOut(duration?: number|string, easing?: string, complete?: Function): JQuery;
+    /**
+     * Hide the matched elements by fading them to transparent.
+     *
+     * @param options A map of additional options to pass to the method.
+     */
+    fadeOut(options: JQueryAnimationOptions): JQuery;
+
+    /**
+     * Adjust the opacity of the matched elements.
+     *
+     * @param duration A string or number determining how long the animation will run.
+     * @param opacity A number between 0 and 1 denoting the target opacity.
+     * @param complete A function to call once the animation is complete.
+     */
+    fadeTo(duration: string|number, opacity: number, complete?: Function): JQuery;
+    /**
+     * Adjust the opacity of the matched elements.
+     *
+     * @param duration A string or number determining how long the animation will run.
+     * @param opacity A number between 0 and 1 denoting the target opacity.
+     * @param easing A string indicating which easing function to use for the transition.
+     * @param complete A function to call once the animation is complete.
+     */
+    fadeTo(duration: string|number, opacity: number, easing?: string, complete?: Function): JQuery;
+
+    /**
+     * Display or hide the matched elements by animating their opacity.
+     *
+     * @param duration A string or number determining how long the animation will run.
+     * @param complete A function to call once the animation is complete.
+     */
+    fadeToggle(duration?: number|string, complete?: Function): JQuery;
+    /**
+     * Display or hide the matched elements by animating their opacity.
+     *
+     * @param duration A string or number determining how long the animation will run.
+     * @param easing A string indicating which easing function to use for the transition.
+     * @param complete A function to call once the animation is complete.
+     */
+    fadeToggle(duration?: number|string, easing?: string, complete?: Function): JQuery;
+    /**
+     * Display or hide the matched elements by animating their opacity.
+     *
+     * @param options A map of additional options to pass to the method.
+     */
+    fadeToggle(options: JQueryAnimationOptions): JQuery;
+
+    /**
+     * Stop the currently-running animation, remove all queued animations, and complete all animations for the matched elements.
+     *
+     * @param queue The name of the queue in which to stop animations.
+     */
+    finish(queue?: string): JQuery;
+
+    /**
+     * Hide the matched elements.
+     *
+     * @param duration A string or number determining how long the animation will run.
+     * @param complete A function to call once the animation is complete.
+     */
+    hide(duration?: number|string, complete?: Function): JQuery;
+    /**
+     * Hide the matched elements.
+     *
+     * @param duration A string or number determining how long the animation will run.
+     * @param easing A string indicating which easing function to use for the transition.
+     * @param complete A function to call once the animation is complete.
+     */
+    hide(duration?: number|string, easing?: string, complete?: Function): JQuery;
+    /**
+     * Hide the matched elements.
+     *
+     * @param options A map of additional options to pass to the method.
+     */
+    hide(options: JQueryAnimationOptions): JQuery;
+
+    /**
+     * Display the matched elements.
+     *
+     * @param duration A string or number determining how long the animation will run.
+     * @param complete A function to call once the animation is complete.
+     */
+    show(duration?: number|string, complete?: Function): JQuery;
+    /**
+     * Display the matched elements.
+     *
+     * @param duration A string or number determining how long the animation will run.
+     * @param easing A string indicating which easing function to use for the transition.
+     * @param complete A function to call once the animation is complete.
+     */
+    show(duration?: number|string, easing?: string, complete?: Function): JQuery;
+    /**
+     * Display the matched elements.
+     *
+     * @param options A map of additional options to pass to the method.
+     */
+    show(options: JQueryAnimationOptions): JQuery;
+
+    /**
+     * Display the matched elements with a sliding motion.
+     *
+     * @param duration A string or number determining how long the animation will run.
+     * @param complete A function to call once the animation is complete.
+     */
+    slideDown(duration?: number|string, complete?: Function): JQuery;
+    /**
+     * Display the matched elements with a sliding motion.
+     *
+     * @param duration A string or number determining how long the animation will run.
+     * @param easing A string indicating which easing function to use for the transition.
+     * @param complete A function to call once the animation is complete.
+     */
+    slideDown(duration?: number|string, easing?: string, complete?: Function): JQuery;
+    /**
+     * Display the matched elements with a sliding motion.
+     *
+     * @param options A map of additional options to pass to the method.
+     */
+    slideDown(options: JQueryAnimationOptions): JQuery;
+
+    /**
+     * Display or hide the matched elements with a sliding motion.
+     *
+     * @param duration A string or number determining how long the animation will run.
+     * @param complete A function to call once the animation is complete.
+     */
+    slideToggle(duration?: number|string, complete?: Function): JQuery;
+    /**
+     * Display or hide the matched elements with a sliding motion.
+     *
+     * @param duration A string or number determining how long the animation will run.
+     * @param easing A string indicating which easing function to use for the transition.
+     * @param complete A function to call once the animation is complete.
+     */
+    slideToggle(duration?: number|string, easing?: string, complete?: Function): JQuery;
+    /**
+     * Display or hide the matched elements with a sliding motion.
+     *
+     * @param options A map of additional options to pass to the method.
+     */
+    slideToggle(options: JQueryAnimationOptions): JQuery;
+
+    /**
+     * Hide the matched elements with a sliding motion.
+     *
+     * @param duration A string or number determining how long the animation will run.
+     * @param complete A function to call once the animation is complete.
+     */
+    slideUp(duration?: number|string, complete?: Function): JQuery;
+    /**
+     * Hide the matched elements with a sliding motion.
+     *
+     * @param duration A string or number determining how long the animation will run.
+     * @param easing A string indicating which easing function to use for the transition.
+     * @param complete A function to call once the animation is complete.
+     */
+    slideUp(duration?: number|string, easing?: string, complete?: Function): JQuery;
+    /**
+     * Hide the matched elements with a sliding motion.
+     *
+     * @param options A map of additional options to pass to the method.
+     */
+    slideUp(options: JQueryAnimationOptions): JQuery;
+
+    /**
+     * Stop the currently-running animation on the matched elements.
+     *
+     * @param clearQueue A Boolean indicating whether to remove queued animation as well. Defaults to false.
+     * @param jumpToEnd A Boolean indicating whether to complete the current animation immediately. Defaults to false.
+     */
+    stop(clearQueue?: boolean, jumpToEnd?: boolean): JQuery;
+    /**
+     * Stop the currently-running animation on the matched elements.
+     *
+     * @param queue The name of the queue in which to stop animations.
+     * @param clearQueue A Boolean indicating whether to remove queued animation as well. Defaults to false.
+     * @param jumpToEnd A Boolean indicating whether to complete the current animation immediately. Defaults to false.
+     */
+    stop(queue?: string, clearQueue?: boolean, jumpToEnd?: boolean): JQuery;
+
+    /**
+     * Display or hide the matched elements.
+     *
+     * @param duration A string or number determining how long the animation will run.
+     * @param complete A function to call once the animation is complete.
+     */
+    toggle(duration?: number|string, complete?: Function): JQuery;
+    /**
+     * Display or hide the matched elements.
+     *
+     * @param duration A string or number determining how long the animation will run.
+     * @param easing A string indicating which easing function to use for the transition.
+     * @param complete A function to call once the animation is complete.
+     */
+    toggle(duration?: number|string, easing?: string, complete?: Function): JQuery;
+    /**
+     * Display or hide the matched elements.
+     *
+     * @param options A map of additional options to pass to the method.
+     */
+    toggle(options: JQueryAnimationOptions): JQuery;
+    /**
+     * Display or hide the matched elements.
+     *
+     * @param showOrHide A Boolean indicating whether to show or hide the elements.
+     */
+    toggle(showOrHide: boolean): JQuery;
+
+    /**
+     * Attach a handler to an event for the elements.
+     * 
+     * @param eventType A string containing one or more DOM event types, such as "click" or "submit," or custom event names.
+     * @param eventData An object containing data that will be passed to the event handler.
+     * @param handler A function to execute each time the event is triggered.
+     */
+    bind(eventType: string, eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery;
+    /**
+     * Attach a handler to an event for the elements.
+     * 
+     * @param eventType A string containing one or more DOM event types, such as "click" or "submit," or custom event names.
+     * @param handler A function to execute each time the event is triggered.
+     */
+    bind(eventType: string, handler: (eventObject: JQueryEventObject) => any): JQuery;
+    /**
+     * Attach a handler to an event for the elements.
+     * 
+     * @param eventType A string containing one or more DOM event types, such as "click" or "submit," or custom event names.
+     * @param eventData An object containing data that will be passed to the event handler.
+     * @param preventBubble Setting the third argument to false will attach a function that prevents the default action from occurring and stops the event from bubbling. The default is true.
+     */
+    bind(eventType: string, eventData: any, preventBubble: boolean): JQuery;
+    /**
+     * Attach a handler to an event for the elements.
+     * 
+     * @param eventType A string containing one or more DOM event types, such as "click" or "submit," or custom event names.
+     * @param preventBubble Setting the third argument to false will attach a function that prevents the default action from occurring and stops the event from bubbling. The default is true.
+     */
+    bind(eventType: string, preventBubble: boolean): JQuery;
+    /**
+     * Attach a handler to an event for the elements.
+     * 
+     * @param events An object containing one or more DOM event types and functions to execute for them.
+     */
+    bind(events: any): JQuery;
+
+    /**
+     * Trigger the "blur" event on an element
+     */
+    blur(): JQuery;
+    /**
+     * Bind an event handler to the "blur" JavaScript event
+     *
+     * @param handler A function to execute each time the event is triggered.
+     */
+    blur(handler: (eventObject: JQueryEventObject) => any): JQuery;
+    /**
+     * Bind an event handler to the "blur" JavaScript event
+     *
+     * @param eventData An object containing data that will be passed to the event handler.
+     * @param handler A function to execute each time the event is triggered.
+     */
+    blur(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
+
+    /**
+     * Trigger the "change" event on an element.
+     */
+    change(): JQuery;
+    /**
+     * Bind an event handler to the "change" JavaScript event
+     *
+     * @param handler A function to execute each time the event is triggered.
+     */
+    change(handler: (eventObject: JQueryEventObject) => any): JQuery;
+    /**
+     * Bind an event handler to the "change" JavaScript event
+     *
+     * @param eventData An object containing data that will be passed to the event handler.
+     * @param handler A function to execute each time the event is triggered.
+     */
+    change(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
+
+    /**
+     * Trigger the "click" event on an element.
+     */
+    click(): JQuery;
+    /**
+     * Bind an event handler to the "click" JavaScript event
+     *
+     * @param eventData An object containing data that will be passed to the event handler.
+     */
+    click(handler: (eventObject: JQueryEventObject) => any): JQuery;
+    /**
+     * Bind an event handler to the "click" JavaScript event
+     *
+     * @param eventData An object containing data that will be passed to the event handler.
+     * @param handler A function to execute each time the event is triggered.
+     */
+    click(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
+
+    /**
+     * Trigger the "contextmenu" event on an element.
+     */
+    contextmenu(): JQuery;
+    /**
+     * Bind an event handler to the "contextmenu" JavaScript event.
+     *
+     * @param handler A function to execute when the event is triggered.
+     */
+    contextmenu(handler: (eventObject: JQueryMouseEventObject) => any): JQuery;
+    /**
+     * Bind an event handler to the "contextmenu" JavaScript event.
+     *
+     * @param eventData An object containing data that will be passed to the event handler.
+     * @param handler A function to execute when the event is triggered.
+     */
+    contextmenu(eventData: Object, handler: (eventObject: JQueryMouseEventObject) => any): JQuery;
+
+    /**
+     * Trigger the "dblclick" event on an element.
+     */
+    dblclick(): JQuery;
+    /**
+     * Bind an event handler to the "dblclick" JavaScript event
+     *
+     * @param handler A function to execute each time the event is triggered.
+     */
+    dblclick(handler: (eventObject: JQueryEventObject) => any): JQuery;
+    /**
+     * Bind an event handler to the "dblclick" JavaScript event
+     *
+     * @param eventData An object containing data that will be passed to the event handler.
+     * @param handler A function to execute each time the event is triggered.
+     */
+    dblclick(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
+
+    delegate(selector: any, eventType: string, handler: (eventObject: JQueryEventObject) => any): JQuery;
+    delegate(selector: any, eventType: string, eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery;
+
+    /**
+     * Trigger the "focus" event on an element.
+     */
+    focus(): JQuery;
+    /**
+     * Bind an event handler to the "focus" JavaScript event
+     *
+     * @param handler A function to execute each time the event is triggered.
+     */
+    focus(handler: (eventObject: JQueryEventObject) => any): JQuery;
+    /**
+     * Bind an event handler to the "focus" JavaScript event
+     *
+     * @param eventData An object containing data that will be passed to the event handler.
+     * @param handler A function to execute each time the event is triggered.
+     */
+    focus(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
+
+    /**
+     * Trigger the "focusin" event on an element.
+     */
+    focusin(): JQuery;
+    /**
+     * Bind an event handler to the "focusin" JavaScript event
+     *
+     * @param handler A function to execute each time the event is triggered.
+     */
+    focusin(handler: (eventObject: JQueryEventObject) => any): JQuery;
+    /**
+     * Bind an event handler to the "focusin" JavaScript event
+     *
+     * @param eventData An object containing data that will be passed to the event handler.
+     * @param handler A function to execute each time the event is triggered.
+     */
+    focusin(eventData: Object, handler: (eventObject: JQueryEventObject) => any): JQuery;
+
+    /**
+     * Trigger the "focusout" event on an element.
+     */
+    focusout(): JQuery;
+    /**
+     * Bind an event handler to the "focusout" JavaScript event
+     *
+     * @param handler A function to execute each time the event is triggered.
+     */
+    focusout(handler: (eventObject: JQueryEventObject) => any): JQuery;
+    /**
+     * Bind an event handler to the "focusout" JavaScript event
+     *
+     * @param eventData An object containing data that will be passed to the event handler.
+     * @param handler A function to execute each time the event is triggered.
+     */
+    focusout(eventData: Object, handler: (eventObject: JQueryEventObject) => any): JQuery;
+
+    /**
+     * Bind two handlers to the matched elements, to be executed when the mouse pointer enters and leaves the elements.
+     *
+     * @param handlerIn A function to execute when the mouse pointer enters the element.
+     * @param handlerOut A function to execute when the mouse pointer leaves the element.
+     */
+    hover(handlerIn: (eventObject: JQueryEventObject) => any, handlerOut: (eventObject: JQueryEventObject) => any): JQuery;
+    /**
+     * Bind a single handler to the matched elements, to be executed when the mouse pointer enters or leaves the elements.
+     *
+     * @param handlerInOut A function to execute when the mouse pointer enters or leaves the element.
+     */
+    hover(handlerInOut: (eventObject: JQueryEventObject) => any): JQuery;
+
+    /**
+     * Trigger the "keydown" event on an element.
+     */
+    keydown(): JQuery;
+    /**
+     * Bind an event handler to the "keydown" JavaScript event
+     *
+     * @param handler A function to execute each time the event is triggered.
+     */
+    keydown(handler: (eventObject: JQueryKeyEventObject) => any): JQuery;
+    /**
+     * Bind an event handler to the "keydown" JavaScript event
+     *
+     * @param eventData An object containing data that will be passed to the event handler.
+     * @param handler A function to execute each time the event is triggered.
+     */
+    keydown(eventData?: any, handler?: (eventObject: JQueryKeyEventObject) => any): JQuery;
+
+    /**
+     * Trigger the "keypress" event on an element.
+     */
+    keypress(): JQuery;
+    /**
+     * Bind an event handler to the "keypress" JavaScript event
+     *
+     * @param handler A function to execute each time the event is triggered.
+     */
+    keypress(handler: (eventObject: JQueryKeyEventObject) => any): JQuery;
+    /**
+     * Bind an event handler to the "keypress" JavaScript event
+     *
+     * @param eventData An object containing data that will be passed to the event handler.
+     * @param handler A function to execute each time the event is triggered.
+     */
+    keypress(eventData?: any, handler?: (eventObject: JQueryKeyEventObject) => any): JQuery;
+
+    /**
+     * Trigger the "keyup" event on an element.
+     */
+    keyup(): JQuery;
+    /**
+     * Bind an event handler to the "keyup" JavaScript event
+     *
+     * @param handler A function to execute each time the event is triggered.
+     */
+    keyup(handler: (eventObject: JQueryKeyEventObject) => any): JQuery;
+    /**
+     * Bind an event handler to the "keyup" JavaScript event
+     *
+     * @param eventData An object containing data that will be passed to the event handler.
+     * @param handler A function to execute each time the event is triggered.
+     */
+    keyup(eventData?: any, handler?: (eventObject: JQueryKeyEventObject) => any): JQuery;
+
+    /**
+     * Bind an event handler to the "load" JavaScript event.
+     *
+     * @param handler A function to execute when the event is triggered.
+     */
+    load(handler: (eventObject: JQueryEventObject) => any): JQuery;
+    /**
+     * Bind an event handler to the "load" JavaScript event.
+     *
+     * @param eventData An object containing data that will be passed to the event handler.
+     * @param handler A function to execute when the event is triggered.
+     */
+    load(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
+
+    /**
+     * Trigger the "mousedown" event on an element.
+     */
+    mousedown(): JQuery;
+    /**
+     * Bind an event handler to the "mousedown" JavaScript event.
+     *
+     * @param handler A function to execute when the event is triggered.
+     */
+    mousedown(handler: (eventObject: JQueryMouseEventObject) => any): JQuery;
+    /**
+     * Bind an event handler to the "mousedown" JavaScript event.
+     *
+     * @param eventData An object containing data that will be passed to the event handler.
+     * @param handler A function to execute when the event is triggered.
+     */
+    mousedown(eventData: Object, handler: (eventObject: JQueryMouseEventObject) => any): JQuery;
+
+    /**
+     * Trigger the "mouseenter" event on an element.
+     */
+    mouseenter(): JQuery;
+    /**
+     * Bind an event handler to be fired when the mouse enters an element.
+     *
+     * @param handler A function to execute when the event is triggered.
+     */
+    mouseenter(handler: (eventObject: JQueryMouseEventObject) => any): JQuery;
+    /**
+     * Bind an event handler to be fired when the mouse enters an element.
+     *
+     * @param eventData An object containing data that will be passed to the event handler.
+     * @param handler A function to execute when the event is triggered.
+     */
+    mouseenter(eventData: Object, handler: (eventObject: JQueryMouseEventObject) => any): JQuery;
+
+    /**
+     * Trigger the "mouseleave" event on an element.
+     */
+    mouseleave(): JQuery;
+    /**
+     * Bind an event handler to be fired when the mouse leaves an element.
+     *
+     * @param handler A function to execute when the event is triggered.
+     */
+    mouseleave(handler: (eventObject: JQueryMouseEventObject) => any): JQuery;
+    /**
+     * Bind an event handler to be fired when the mouse leaves an element.
+     *
+     * @param eventData An object containing data that will be passed to the event handler.
+     * @param handler A function to execute when the event is triggered.
+     */
+    mouseleave(eventData: Object, handler: (eventObject: JQueryMouseEventObject) => any): JQuery;
+
+    /**
+     * Trigger the "mousemove" event on an element.
+     */
+    mousemove(): JQuery;
+    /**
+     * Bind an event handler to the "mousemove" JavaScript event.
+     *
+     * @param handler A function to execute when the event is triggered.
+     */
+    mousemove(handler: (eventObject: JQueryMouseEventObject) => any): JQuery;
+    /**
+     * Bind an event handler to the "mousemove" JavaScript event.
+     *
+     * @param eventData An object containing data that will be passed to the event handler.
+     * @param handler A function to execute when the event is triggered.
+     */
+    mousemove(eventData: Object, handler: (eventObject: JQueryMouseEventObject) => any): JQuery;
+
+    /**
+     * Trigger the "mouseout" event on an element.
+     */
+    mouseout(): JQuery;
+    /**
+     * Bind an event handler to the "mouseout" JavaScript event.
+     *
+     * @param handler A function to execute when the event is triggered.
+     */
+    mouseout(handler: (eventObject: JQueryMouseEventObject) => any): JQuery;
+    /**
+     * Bind an event handler to the "mouseout" JavaScript event.
+     *
+     * @param eventData An object containing data that will be passed to the event handler.
+     * @param handler A function to execute when the event is triggered.
+     */
+    mouseout(eventData: Object, handler: (eventObject: JQueryMouseEventObject) => any): JQuery;
+
+    /**
+     * Trigger the "mouseover" event on an element.
+     */
+    mouseover(): JQuery;
+    /**
+     * Bind an event handler to the "mouseover" JavaScript event.
+     *
+     * @param handler A function to execute when the event is triggered.
+     */
+    mouseover(handler: (eventObject: JQueryMouseEventObject) => any): JQuery;
+    /**
+     * Bind an event handler to the "mouseover" JavaScript event.
+     *
+     * @param eventData An object containing data that will be passed to the event handler.
+     * @param handler A function to execute when the event is triggered.
+     */
+    mouseover(eventData: Object, handler: (eventObject: JQueryMouseEventObject) => any): JQuery;
+
+    /**
+     * Trigger the "mouseup" event on an element.
+     */
+    mouseup(): JQuery;
+    /**
+     * Bind an event handler to the "mouseup" JavaScript event.
+     *
+     * @param handler A function to execute when the event is triggered.
+     */
+    mouseup(handler: (eventObject: JQueryMouseEventObject) => any): JQuery;
+    /**
+     * Bind an event handler to the "mouseup" JavaScript event.
+     *
+     * @param eventData An object containing data that will be passed to the event handler.
+     * @param handler A function to execute when the event is triggered.
+     */
+    mouseup(eventData: Object, handler: (eventObject: JQueryMouseEventObject) => any): JQuery;
+
+    /**
+     * Remove an event handler.
+     */
+    off(): JQuery;
+    /**
+     * Remove an event handler.
+     *
+     * @param events One or more space-separated event types and optional namespaces, or just namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".
+     * @param selector A selector which should match the one originally passed to .on() when attaching event handlers.
+     * @param handler A handler function previously attached for the event(s), or the special value false.
+     */
+    off(events: string, selector?: string, handler?: (eventObject: JQueryEventObject) => any): JQuery;
+    /**
+     * Remove an event handler.
+     *
+     * @param events One or more space-separated event types and optional namespaces, or just namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".
+     * @param handler A handler function previously attached for the event(s), or the special value false. Takes handler with extra args that can be attached with on().
+     */
+    off(events: string, handler: (eventObject: JQueryEventObject, ...args: any[]) => any): JQuery;
+    /**
+     * Remove an event handler.
+     *
+     * @param events One or more space-separated event types and optional namespaces, or just namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".
+     * @param handler A handler function previously attached for the event(s), or the special value false.
+     */
+    off(events: string, handler: (eventObject: JQueryEventObject) => any): JQuery;
+    /**
+     * Remove an event handler.
+     *
+     * @param events An object where the string keys represent one or more space-separated event types and optional namespaces, and the values represent handler functions previously attached for the event(s).
+     * @param selector A selector which should match the one originally passed to .on() when attaching event handlers.
+     */
+    off(events: { [key: string]: any; }, selector?: string): JQuery;
+
+    /**
+     * Attach an event handler function for one or more events to the selected elements.
+     *
+     * @param events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".
+     * @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false. Rest parameter args is for optional parameters passed to jQuery.trigger(). Note that the actual parameters on the event handler function must be marked as optional (? syntax).
+     */
+    on(events: string, handler: (eventObject: JQueryEventObject, ...args: any[]) => any): JQuery;
+    /**
+     * Attach an event handler function for one or more events to the selected elements.
+     *
+     * @param events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".
+     * @param data Data to be passed to the handler in event.data when an event is triggered.
+     * @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.
+    */
+    on(events: string, data : any, handler: (eventObject: JQueryEventObject, ...args: any[]) => any): JQuery;
+    /**
+     * Attach an event handler function for one or more events to the selected elements.
+     *
+     * @param events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".
+     * @param selector A selector string to filter the descendants of the selected elements that trigger the event. If the selector is null or omitted, the event is always triggered when it reaches the selected element.
+     * @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.
+     */
+    on(events: string, selector: string, handler: (eventObject: JQueryEventObject, ...eventData: any[]) => any): JQuery;
+    /**
+     * Attach an event handler function for one or more events to the selected elements.
+     *
+     * @param events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".
+     * @param selector A selector string to filter the descendants of the selected elements that trigger the event. If the selector is null or omitted, the event is always triggered when it reaches the selected element.
+     * @param data Data to be passed to the handler in event.data when an event is triggered.
+     * @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.
+     */
+    on(events: string, selector: string, data: any, handler: (eventObject: JQueryEventObject, ...eventData: any[]) => any): JQuery;
+    /**
+     * Attach an event handler function for one or more events to the selected elements.
+     *
+     * @param events An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s).
+     * @param selector A selector string to filter the descendants of the selected elements that will call the handler. If the selector is null or omitted, the handler is always called when it reaches the selected element.
+     * @param data Data to be passed to the handler in event.data when an event occurs.
+     */
+    on(events: { [key: string]: any; }, selector?: string, data?: any): JQuery;
+    /**
+     * Attach an event handler function for one or more events to the selected elements.
+     *
+     * @param events An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s).
+     * @param data Data to be passed to the handler in event.data when an event occurs.
+     */
+    on(events: { [key: string]: any; }, data?: any): JQuery;
+
+    /**
+     * Attach a handler to an event for the elements. The handler is executed at most once per element per event type.
+     *
+     * @param events A string containing one or more JavaScript event types, such as "click" or "submit," or custom event names.
+     * @param handler A function to execute at the time the event is triggered.
+     */
+    one(events: string, handler: (eventObject: JQueryEventObject) => any): JQuery;
+    /**
+     * Attach a handler to an event for the elements. The handler is executed at most once per element per event type.
+     *
+     * @param events A string containing one or more JavaScript event types, such as "click" or "submit," or custom event names.
+     * @param data An object containing data that will be passed to the event handler.
+     * @param handler A function to execute at the time the event is triggered.
+     */
+    one(events: string, data: Object, handler: (eventObject: JQueryEventObject) => any): JQuery;
+
+    /**
+     * Attach a handler to an event for the elements. The handler is executed at most once per element per event type.
+     *
+     * @param events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".
+     * @param selector A selector string to filter the descendants of the selected elements that trigger the event. If the selector is null or omitted, the event is always triggered when it reaches the selected element.
+     * @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.
+     */
+    one(events: string, selector: string, handler: (eventObject: JQueryEventObject) => any): JQuery;
+    /**
+     * Attach a handler to an event for the elements. The handler is executed at most once per element per event type.
+     *
+     * @param events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".
+     * @param selector A selector string to filter the descendants of the selected elements that trigger the event. If the selector is null or omitted, the event is always triggered when it reaches the selected element.
+     * @param data Data to be passed to the handler in event.data when an event is triggered.
+     * @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.
+     */
+    one(events: string, selector: string, data: any, handler: (eventObject: JQueryEventObject) => any): JQuery;
+
+    /**
+     * Attach a handler to an event for the elements. The handler is executed at most once per element per event type.
+     *
+     * @param events An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s).
+     * @param selector A selector string to filter the descendants of the selected elements that will call the handler. If the selector is null or omitted, the handler is always called when it reaches the selected element.
+     * @param data Data to be passed to the handler in event.data when an event occurs.
+     */
+    one(events: { [key: string]: any; }, selector?: string, data?: any): JQuery;
+
+    /**
+     * Attach a handler to an event for the elements. The handler is executed at most once per element per event type.
+     *
+     * @param events An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s).
+     * @param data Data to be passed to the handler in event.data when an event occurs.
+     */
+    one(events: { [key: string]: any; }, data?: any): JQuery;
+
+
+    /**
+     * Specify a function to execute when the DOM is fully loaded.
+     *
+     * @param handler A function to execute after the DOM is ready.
+     */
+    ready(handler: (jQueryAlias?: JQueryStatic) => any): JQuery;
+
+    /**
+     * Trigger the "resize" event on an element.
+     */
+    resize(): JQuery;
+    /**
+     * Bind an event handler to the "resize" JavaScript event.
+     *
+     * @param handler A function to execute each time the event is triggered.
+     */
+    resize(handler: (eventObject: JQueryEventObject) => any): JQuery;
+    /**
+     * Bind an event handler to the "resize" JavaScript event.
+     *
+     * @param eventData An object containing data that will be passed to the event handler.
+     * @param handler A function to execute each time the event is triggered.
+     */
+    resize(eventData: Object, handler: (eventObject: JQueryEventObject) => any): JQuery;
+
+    /**
+     * Trigger the "scroll" event on an element.
+     */
+    scroll(): JQuery;
+    /**
+     * Bind an event handler to the "scroll" JavaScript event.
+     *
+     * @param handler A function to execute each time the event is triggered.
+     */
+    scroll(handler: (eventObject: JQueryEventObject) => any): JQuery;
+    /**
+     * Bind an event handler to the "scroll" JavaScript event.
+     *
+     * @param eventData An object containing data that will be passed to the event handler.
+     * @param handler A function to execute each time the event is triggered.
+     */
+    scroll(eventData: Object, handler: (eventObject: JQueryEventObject) => any): JQuery;
+
+    /**
+     * Trigger the "select" event on an element.
+     */
+    select(): JQuery;
+    /**
+     * Bind an event handler to the "select" JavaScript event.
+     *
+     * @param handler A function to execute each time the event is triggered.
+     */
+    select(handler: (eventObject: JQueryEventObject) => any): JQuery;
+    /**
+     * Bind an event handler to the "select" JavaScript event.
+     *
+     * @param eventData An object containing data that will be passed to the event handler.
+     * @param handler A function to execute each time the event is triggered.
+     */
+    select(eventData: Object, handler: (eventObject: JQueryEventObject) => any): JQuery;
+
+    /**
+     * Trigger the "submit" event on an element.
+     */
+    submit(): JQuery;
+    /**
+     * Bind an event handler to the "submit" JavaScript event
+     *
+     * @param handler A function to execute each time the event is triggered.
+     */
+    submit(handler: (eventObject: JQueryEventObject) => any): JQuery;
+    /**
+     * Bind an event handler to the "submit" JavaScript event
+     *
+     * @param eventData An object containing data that will be passed to the event handler.
+     * @param handler A function to execute each time the event is triggered.
+     */
+    submit(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
+
+    /**
+     * Execute all handlers and behaviors attached to the matched elements for the given event type.
+     * 
+     * @param eventType A string containing a JavaScript event type, such as click or submit.
+     * @param extraParameters Additional parameters to pass along to the event handler.
+     */
+    trigger(eventType: string, extraParameters?: any[]|Object): JQuery;
+    /**
+     * Execute all handlers and behaviors attached to the matched elements for the given event type.
+     * 
+     * @param event A jQuery.Event object.
+     * @param extraParameters Additional parameters to pass along to the event handler.
+     */
+    trigger(event: JQueryEventObject, extraParameters?: any[]|Object): JQuery;
+
+    /**
+     * Execute all handlers attached to an element for an event.
+     * 
+     * @param eventType A string containing a JavaScript event type, such as click or submit.
+     * @param extraParameters An array of additional parameters to pass along to the event handler.
+     */
+    triggerHandler(eventType: string, ...extraParameters: any[]): Object;
+
+    /**
+     * Execute all handlers attached to an element for an event.
+     * 
+     * @param event A jQuery.Event object.
+     * @param extraParameters An array of additional parameters to pass along to the event handler.
+     */
+    triggerHandler(event: JQueryEventObject, ...extraParameters: any[]): Object;
+
+    /**
+     * Remove a previously-attached event handler from the elements.
+     * 
+     * @param eventType A string containing a JavaScript event type, such as click or submit.
+     * @param handler The function that is to be no longer executed.
+     */
+    unbind(eventType?: string, handler?: (eventObject: JQueryEventObject) => any): JQuery;
+    /**
+     * Remove a previously-attached event handler from the elements.
+     * 
+     * @param eventType A string containing a JavaScript event type, such as click or submit.
+     * @param fls Unbinds the corresponding 'return false' function that was bound using .bind( eventType, false ).
+     */
+    unbind(eventType: string, fls: boolean): JQuery;
+    /**
+     * Remove a previously-attached event handler from the elements.
+     * 
+     * @param evt A JavaScript event object as passed to an event handler.
+     */
+    unbind(evt: any): JQuery;
+
+    /**
+     * Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements.
+     */
+    undelegate(): JQuery;
+    /**
+     * Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements.
+     * 
+     * @param selector A selector which will be used to filter the event results.
+     * @param eventType A string containing a JavaScript event type, such as "click" or "keydown"
+     * @param handler A function to execute at the time the event is triggered.
+     */
+    undelegate(selector: string, eventType: string, handler?: (eventObject: JQueryEventObject) => any): JQuery;
+    /**
+     * Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements.
+     * 
+     * @param selector A selector which will be used to filter the event results.
+     * @param events An object of one or more event types and previously bound functions to unbind from them.
+     */
+    undelegate(selector: string, events: Object): JQuery;
+    /**
+     * Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements.
+     * 
+     * @param namespace A string containing a namespace to unbind all events from.
+     */
+    undelegate(namespace: string): JQuery;
+
+    /**
+     * Bind an event handler to the "unload" JavaScript event. (DEPRECATED from v1.8)
+     * 
+     * @param handler A function to execute when the event is triggered.
+     */
+    unload(handler: (eventObject: JQueryEventObject) => any): JQuery;
+    /**
+     * Bind an event handler to the "unload" JavaScript event. (DEPRECATED from v1.8)
+     * 
+     * @param eventData A plain object of data that will be passed to the event handler.
+     * @param handler A function to execute when the event is triggered.
+     */
+    unload(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
+
+    /**
+     * The DOM node context originally passed to jQuery(); if none was passed then context will likely be the document. (DEPRECATED from v1.10)
+     */
+    context: Element;
+
+    jquery: string;
+
+    /**
+     * Bind an event handler to the "error" JavaScript event. (DEPRECATED from v1.8)
+     * 
+     * @param handler A function to execute when the event is triggered.
+     */
+    error(handler: (eventObject: JQueryEventObject) => any): JQuery;
+    /**
+     * Bind an event handler to the "error" JavaScript event. (DEPRECATED from v1.8)
+     * 
+     * @param eventData A plain object of data that will be passed to the event handler.
+     * @param handler A function to execute when the event is triggered.
+     */
+    error(eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery;
+
+    /**
+     * Add a collection of DOM elements onto the jQuery stack.
+     * 
+     * @param elements An array of elements to push onto the stack and make into a new jQuery object.
+     */
+    pushStack(elements: any[]): JQuery;
+    /**
+     * Add a collection of DOM elements onto the jQuery stack.
+     * 
+     * @param elements An array of elements to push onto the stack and make into a new jQuery object.
+     * @param name The name of a jQuery method that generated the array of elements.
+     * @param arguments The arguments that were passed in to the jQuery method (for serialization).
+     */
+    pushStack(elements: any[], name: string, arguments: any[]): JQuery;
+
+    /**
+     * Insert content, specified by the parameter, after each element in the set of matched elements.
+     * 
+     * param content1 HTML string, DOM element, DocumentFragment, array of elements, or jQuery object to insert after each element in the set of matched elements.
+     * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert after each element in the set of matched elements.
+     */
+    after(content1: JQuery|any[]|Element|DocumentFragment|Text|string, ...content2: any[]): JQuery;
+    /**
+     * Insert content, specified by the parameter, after each element in the set of matched elements.
+     * 
+     * param func A function that returns an HTML string, DOM element(s), or jQuery object to insert after each element in the set of matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set.
+     */
+    after(func: (index: number, html: string) => string|Element|JQuery): JQuery;
+
+    /**
+     * Insert content, specified by the parameter, to the end of each element in the set of matched elements.
+     * 
+     * param content1 DOM element, DocumentFragment, array of elements, HTML string, or jQuery object to insert at the end of each element in the set of matched elements.
+     * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the end of each element in the set of matched elements.
+     */
+    append(content1: JQuery|any[]|Element|DocumentFragment|Text|string, ...content2: any[]): JQuery;
+    /**
+     * Insert content, specified by the parameter, to the end of each element in the set of matched elements.
+     * 
+     * param func A function that returns an HTML string, DOM element(s), or jQuery object to insert at the end of each element in the set of matched elements. Receives the index position of the element in the set and the old HTML value of the element as arguments. Within the function, this refers to the current element in the set.
+     */
+    append(func: (index: number, html: string) => string|Element|JQuery): JQuery;
+
+    /**
+     * Insert every element in the set of matched elements to the end of the target.
+     * 
+     * @param target A selector, element, HTML string, array of elements, or jQuery object; the matched set of elements will be inserted at the end of the element(s) specified by this parameter.
+     */
+    appendTo(target: JQuery|any[]|Element|string): JQuery;
+
+    /**
+     * Insert content, specified by the parameter, before each element in the set of matched elements.
+     * 
+     * param content1 HTML string, DOM element, DocumentFragment, array of elements, or jQuery object to insert before each element in the set of matched elements.
+     * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert before each element in the set of matched elements.
+     */
+    before(content1: JQuery|any[]|Element|DocumentFragment|Text|string, ...content2: any[]): JQuery;
+    /**
+     * Insert content, specified by the parameter, before each element in the set of matched elements.
+     * 
+     * param func A function that returns an HTML string, DOM element(s), or jQuery object to insert before each element in the set of matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set.
+     */
+    before(func: (index: number, html: string) => string|Element|JQuery): JQuery;
+
+    /**
+     * Create a deep copy of the set of matched elements.
+     * 
+     * param withDataAndEvents A Boolean indicating whether event handlers and data should be copied along with the elements. The default value is false.
+     * param deepWithDataAndEvents A Boolean indicating whether event handlers and data for all children of the cloned element should be copied. By default its value matches the first argument's value (which defaults to false).
+     */
+    clone(withDataAndEvents?: boolean, deepWithDataAndEvents?: boolean): JQuery;
+
+    /**
+     * Remove the set of matched elements from the DOM.
+     * 
+     * param selector A selector expression that filters the set of matched elements to be removed.
+     */
+    detach(selector?: string): JQuery;
+
+    /**
+     * Remove all child nodes of the set of matched elements from the DOM.
+     */
+    empty(): JQuery;
+
+    /**
+     * Insert every element in the set of matched elements after the target.
+     * 
+     * param target A selector, element, array of elements, HTML string, or jQuery object; the matched set of elements will be inserted after the element(s) specified by this parameter.
+     */
+    insertAfter(target: JQuery|any[]|Element|Text|string): JQuery;
+
+    /**
+     * Insert every element in the set of matched elements before the target.
+     * 
+     * param target A selector, element, array of elements, HTML string, or jQuery object; the matched set of elements will be inserted before the element(s) specified by this parameter.
+     */
+    insertBefore(target: JQuery|any[]|Element|Text|string): JQuery;
+
+    /**
+     * Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.
+     * 
+     * param content1 DOM element, DocumentFragment, array of elements, HTML string, or jQuery object to insert at the beginning of each element in the set of matched elements.
+     * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the beginning of each element in the set of matched elements.
+     */
+    prepend(content1: JQuery|any[]|Element|DocumentFragment|Text|string, ...content2: any[]): JQuery;
+    /**
+     * Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.
+     * 
+     * param func A function that returns an HTML string, DOM element(s), or jQuery object to insert at the beginning of each element in the set of matched elements. Receives the index position of the element in the set and the old HTML value of the element as arguments. Within the function, this refers to the current element in the set.
+     */
+    prepend(func: (index: number, html: string) => string|Element|JQuery): JQuery;
+
+    /**
+     * Insert every element in the set of matched elements to the beginning of the target.
+     * 
+     * @param target A selector, element, HTML string, array of elements, or jQuery object; the matched set of elements will be inserted at the beginning of the element(s) specified by this parameter.
+     */
+    prependTo(target: JQuery|any[]|Element|string): JQuery;
+
+    /**
+     * Remove the set of matched elements from the DOM.
+     * 
+     * @param selector A selector expression that filters the set of matched elements to be removed.
+     */
+    remove(selector?: string): JQuery;
+
+    /**
+     * Replace each target element with the set of matched elements.
+     * 
+     * @param target A selector string, jQuery object, DOM element, or array of elements indicating which element(s) to replace.
+     */
+    replaceAll(target: JQuery|any[]|Element|string): JQuery;
+
+    /**
+     * Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.
+     * 
+     * param newContent The content to insert. May be an HTML string, DOM element, array of DOM elements, or jQuery object.
+     */
+    replaceWith(newContent: JQuery|any[]|Element|Text|string): JQuery;
+    /**
+     * Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.
+     * 
+     * param func A function that returns content with which to replace the set of matched elements.
+     */
+    replaceWith(func: () => Element|JQuery): JQuery;
+
+    /**
+     * Get the combined text contents of each element in the set of matched elements, including their descendants.
+     */
+    text(): string;
+    /**
+     * Set the content of each element in the set of matched elements to the specified text.
+     * 
+     * @param text The text to set as the content of each matched element. When Number or Boolean is supplied, it will be converted to a String representation.
+     */
+    text(text: string|number|boolean): JQuery;
+    /**
+     * Set the content of each element in the set of matched elements to the specified text.
+     * 
+     * @param func A function returning the text content to set. Receives the index position of the element in the set and the old text value as arguments.
+     */
+    text(func: (index: number, text: string) => string): JQuery;
+
+    /**
+     * Retrieve all the elements contained in the jQuery set, as an array.
+     * @name toArray
+     */
+    toArray(): HTMLElement[];
+
+    /**
+     * Remove the parents of the set of matched elements from the DOM, leaving the matched elements in their place.
+     */
+    unwrap(): JQuery;
+
+    /**
+     * Wrap an HTML structure around each element in the set of matched elements.
+     * 
+     * @param wrappingElement A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements.
+     */
+    wrap(wrappingElement: JQuery|Element|string): JQuery;
+    /**
+     * Wrap an HTML structure around each element in the set of matched elements.
+     * 
+     * @param func A callback function returning the HTML content or jQuery object to wrap around the matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set.
+     */
+    wrap(func: (index: number) => string|JQuery): JQuery;
+
+    /**
+     * Wrap an HTML structure around all elements in the set of matched elements.
+     * 
+     * @param wrappingElement A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements.
+     */
+    wrapAll(wrappingElement: JQuery|Element|string): JQuery;
+    wrapAll(func: (index: number) => string): JQuery;
+
+    /**
+     * Wrap an HTML structure around the content of each element in the set of matched elements.
+     * 
+     * @param wrappingElement An HTML snippet, selector expression, jQuery object, or DOM element specifying the structure to wrap around the content of the matched elements.
+     */
+    wrapInner(wrappingElement: JQuery|Element|string): JQuery;
+    /**
+     * Wrap an HTML structure around the content of each element in the set of matched elements.
+     * 
+     * @param func A callback function which generates a structure to wrap around the content of the matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set.
+     */
+    wrapInner(func: (index: number) => string): JQuery;
+
+    /**
+     * Iterate over a jQuery object, executing a function for each matched element.
+     * 
+     * @param func A function to execute for each matched element.
+     */
+    each(func: (index: number, elem: Element) => any): JQuery;
+
+    /**
+     * Retrieve one of the elements matched by the jQuery object.
+     * 
+     * @param index A zero-based integer indicating which element to retrieve.
+     */
+    get(index: number): HTMLElement;
+    /**
+     * Retrieve the elements matched by the jQuery object.
+     * @alias toArray
+     */
+    get(): HTMLElement[];
+
+    /**
+     * Search for a given element from among the matched elements.
+     */
+    index(): number;
+    /**
+     * Search for a given element from among the matched elements.
+     * 
+     * @param selector A selector representing a jQuery collection in which to look for an element.
+     */
+    index(selector: string|JQuery|Element): number;
+
+    /**
+     * The number of elements in the jQuery object.
+     */
+    length: number;
+    /**
+     * A selector representing selector passed to jQuery(), if any, when creating the original set.
+     * version deprecated: 1.7, removed: 1.9
+     */
+    selector: string;
+    [index: string]: any;
+    [index: number]: HTMLElement;
+
+    /**
+     * Add elements to the set of matched elements.
+     * 
+     * @param selector A string representing a selector expression to find additional elements to add to the set of matched elements.
+     * @param context The point in the document at which the selector should begin matching; similar to the context argument of the $(selector, context) method.
+     */
+    add(selector: string, context?: Element): JQuery;
+    /**
+     * Add elements to the set of matched elements.
+     * 
+     * @param elements One or more elements to add to the set of matched elements.
+     */
+    add(...elements: Element[]): JQuery;
+    /**
+     * Add elements to the set of matched elements.
+     * 
+     * @param html An HTML fragment to add to the set of matched elements.
+     */
+    add(html: string): JQuery;
+    /**
+     * Add elements to the set of matched elements.
+     * 
+     * @param obj An existing jQuery object to add to the set of matched elements.
+     */
+    add(obj: JQuery): JQuery;
+
+    /**
+     * Get the children of each element in the set of matched elements, optionally filtered by a selector.
+     * 
+     * @param selector A string containing a selector expression to match elements against.
+     */
+    children(selector?: string): JQuery;
+
+    /**
+     * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
+     * 
+     * @param selector A string containing a selector expression to match elements against.
+     */
+    closest(selector: string): JQuery;
+    /**
+     * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
+     * 
+     * @param selector A string containing a selector expression to match elements against.
+     * @param context A DOM element within which a matching element may be found. If no context is passed in then the context of the jQuery set will be used instead.
+     */
+    closest(selector: string, context?: Element): JQuery;
+    /**
+     * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
+     * 
+     * @param obj A jQuery object to match elements against.
+     */
+    closest(obj: JQuery): JQuery;
+    /**
+     * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
+     * 
+     * @param element An element to match elements against.
+     */
+    closest(element: Element): JQuery;
+
+    /**
+     * Get an array of all the elements and selectors matched against the current element up through the DOM tree.
+     * 
+     * @param selectors An array or string containing a selector expression to match elements against (can also be a jQuery object).
+     * @param context A DOM element within which a matching element may be found. If no context is passed in then the context of the jQuery set will be used instead.
+     */
+    closest(selectors: any, context?: Element): any[];
+
+    /**
+     * Get the children of each element in the set of matched elements, including text and comment nodes.
+     */
+    contents(): JQuery;
+
+    /**
+     * End the most recent filtering operation in the current chain and return the set of matched elements to its previous state.
+     */
+    end(): JQuery;
+
+    /**
+     * Reduce the set of matched elements to the one at the specified index.
+     * 
+     * @param index An integer indicating the 0-based position of the element. OR An integer indicating the position of the element, counting backwards from the last element in the set.
+     *  
+     */
+    eq(index: number): JQuery;
+
+    /**
+     * Reduce the set of matched elements to those that match the selector or pass the function's test.
+     * 
+     * @param selector A string containing a selector expression to match the current set of elements against.
+     */
+    filter(selector: string): JQuery;
+    /**
+     * Reduce the set of matched elements to those that match the selector or pass the function's test.
+     * 
+     * @param func A function used as a test for each element in the set. this is the current DOM element.
+     */
+    filter(func: (index: number, element: Element) => any): JQuery;
+    /**
+     * Reduce the set of matched elements to those that match the selector or pass the function's test.
+     * 
+     * @param element An element to match the current set of elements against.
+     */
+    filter(element: Element): JQuery;
+    /**
+     * Reduce the set of matched elements to those that match the selector or pass the function's test.
+     * 
+     * @param obj An existing jQuery object to match the current set of elements against.
+     */
+    filter(obj: JQuery): JQuery;
+
+    /**
+     * Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.
+     * 
+     * @param selector A string containing a selector expression to match elements against.
+     */
+    find(selector: string): JQuery;
+    /**
+     * Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.
+     * 
+     * @param element An element to match elements against.
+     */
+    find(element: Element): JQuery;
+    /**
+     * Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.
+     * 
+     * @param obj A jQuery object to match elements against.
+     */
+    find(obj: JQuery): JQuery;
+
+    /**
+     * Reduce the set of matched elements to the first in the set.
+     */
+    first(): JQuery;
+
+    /**
+     * Reduce the set of matched elements to those that have a descendant that matches the selector or DOM element.
+     * 
+     * @param selector A string containing a selector expression to match elements against.
+     */
+    has(selector: string): JQuery;
+    /**
+     * Reduce the set of matched elements to those that have a descendant that matches the selector or DOM element.
+     * 
+     * @param contained A DOM element to match elements against.
+     */
+    has(contained: Element): JQuery;
+
+    /**
+     * Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments.
+     * 
+     * @param selector A string containing a selector expression to match elements against.
+     */
+    is(selector: string): boolean;
+    /**
+     * Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments.
+     * 
+     * @param func A function used as a test for the set of elements. It accepts one argument, index, which is the element's index in the jQuery collection.Within the function, this refers to the current DOM element.
+     */
+    is(func: (index: number, element: Element) => boolean): boolean;
+    /**
+     * Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments.
+     * 
+     * @param obj An existing jQuery object to match the current set of elements against.
+     */
+    is(obj: JQuery): boolean;
+    /**
+     * Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments.
+     * 
+     * @param elements One or more elements to match the current set of elements against.
+     */
+    is(elements: any): boolean;
+
+    /**
+     * Reduce the set of matched elements to the final one in the set.
+     */
+    last(): JQuery;
+
+    /**
+     * Pass each element in the current matched set through a function, producing a new jQuery object containing the return values.
+     * 
+     * @param callback A function object that will be invoked for each element in the current set.
+     */
+    map(callback: (index: number, domElement: Element) => any): JQuery;
+
+    /**
+     * Get the immediately following sibling of each element in the set of matched elements. If a selector is provided, it retrieves the next sibling only if it matches that selector.
+     * 
+     * @param selector A string containing a selector expression to match elements against.
+     */
+    next(selector?: string): JQuery;
+
+    /**
+     * Get all following siblings of each element in the set of matched elements, optionally filtered by a selector.
+     * 
+     * @param selector A string containing a selector expression to match elements against.
+     */
+    nextAll(selector?: string): JQuery;
+
+    /**
+     * Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed.
+     * 
+     * @param selector A string containing a selector expression to indicate where to stop matching following sibling elements.
+     * @param filter A string containing a selector expression to match elements against.
+     */
+    nextUntil(selector?: string, filter?: string): JQuery;
+    /**
+     * Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed.
+     * 
+     * @param element A DOM node or jQuery object indicating where to stop matching following sibling elements.
+     * @param filter A string containing a selector expression to match elements against.
+     */
+    nextUntil(element?: Element, filter?: string): JQuery;
+    /**
+     * Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed.
+     * 
+     * @param obj A DOM node or jQuery object indicating where to stop matching following sibling elements.
+     * @param filter A string containing a selector expression to match elements against.
+     */
+    nextUntil(obj?: JQuery, filter?: string): JQuery;
+
+    /**
+     * Remove elements from the set of matched elements.
+     * 
+     * @param selector A string containing a selector expression to match elements against.
+     */
+    not(selector: string): JQuery;
+    /**
+     * Remove elements from the set of matched elements.
+     * 
+     * @param func A function used as a test for each element in the set. this is the current DOM element.
+     */
+    not(func: (index: number, element: Element) => boolean): JQuery;
+    /**
+     * Remove elements from the set of matched elements.
+     * 
+     * @param elements One or more DOM elements to remove from the matched set.
+     */
+    not(elements: Element|Element[]): JQuery;
+    /**
+     * Remove elements from the set of matched elements.
+     * 
+     * @param obj An existing jQuery object to match the current set of elements against.
+     */
+    not(obj: JQuery): JQuery;
+
+    /**
+     * Get the closest ancestor element that is positioned.
+     */
+    offsetParent(): JQuery;
+
+    /**
+     * Get the parent of each element in the current set of matched elements, optionally filtered by a selector.
+     * 
+     * @param selector A string containing a selector expression to match elements against.
+     */
+    parent(selector?: string): JQuery;
+
+    /**
+     * Get the ancestors of each element in the current set of matched elements, optionally filtered by a selector.
+     * 
+     * @param selector A string containing a selector expression to match elements against.
+     */
+    parents(selector?: string): JQuery;
+
+    /**
+     * Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object.
+     * 
+     * @param selector A string containing a selector expression to indicate where to stop matching ancestor elements.
+     * @param filter A string containing a selector expression to match elements against.
+     */
+    parentsUntil(selector?: string, filter?: string): JQuery;
+    /**
+     * Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object.
+     * 
+     * @param element A DOM node or jQuery object indicating where to stop matching ancestor elements.
+     * @param filter A string containing a selector expression to match elements against.
+     */
+    parentsUntil(element?: Element, filter?: string): JQuery;
+    /**
+     * Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object.
+     * 
+     * @param obj A DOM node or jQuery object indicating where to stop matching ancestor elements.
+     * @param filter A string containing a selector expression to match elements against.
+     */
+    parentsUntil(obj?: JQuery, filter?: string): JQuery;
+
+    /**
+     * Get the immediately preceding sibling of each element in the set of matched elements, optionally filtered by a selector.
+     * 
+     * @param selector A string containing a selector expression to match elements against.
+     */
+    prev(selector?: string): JQuery;
+
+    /**
+     * Get all preceding siblings of each element in the set of matched elements, optionally filtered by a selector.
+     * 
+     * @param selector A string containing a selector expression to match elements against.
+     */
+    prevAll(selector?: string): JQuery;
+
+    /**
+     * Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object.
+     * 
+     * @param selector A string containing a selector expression to indicate where to stop matching preceding sibling elements.
+     * @param filter A string containing a selector expression to match elements against.
+     */
+    prevUntil(selector?: string, filter?: string): JQuery;
+    /**
+     * Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object.
+     * 
+     * @param element A DOM node or jQuery object indicating where to stop matching preceding sibling elements.
+     * @param filter A string containing a selector expression to match elements against.
+     */
+    prevUntil(element?: Element, filter?: string): JQuery;
+    /**
+     * Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object.
+     * 
+     * @param obj A DOM node or jQuery object indicating where to stop matching preceding sibling elements.
+     * @param filter A string containing a selector expression to match elements against.
+     */
+    prevUntil(obj?: JQuery, filter?: string): JQuery;
+
+    /**
+     * Get the siblings of each element in the set of matched elements, optionally filtered by a selector.
+     * 
+     * @param selector A string containing a selector expression to match elements against.
+     */
+    siblings(selector?: string): JQuery;
+
+    /**
+     * Reduce the set of matched elements to a subset specified by a range of indices.
+     * 
+     * @param start An integer indicating the 0-based position at which the elements begin to be selected. If negative, it indicates an offset from the end of the set.
+     * @param end An integer indicating the 0-based position at which the elements stop being selected. If negative, it indicates an offset from the end of the set. If omitted, the range continues until the end of the set.
+     */
+    slice(start: number, end?: number): JQuery;
+
+    /**
+     * Show the queue of functions to be executed on the matched elements.
+     * 
+     * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.
+     */
+    queue(queueName?: string): any[];
+    /**
+     * Manipulate the queue of functions to be executed, once for each matched element.
+     * 
+     * @param newQueue An array of functions to replace the current queue contents.
+     */
+    queue(newQueue: Function[]): JQuery;
+    /**
+     * Manipulate the queue of functions to be executed, once for each matched element.
+     * 
+     * @param callback The new function to add to the queue, with a function to call that will dequeue the next item.
+     */
+    queue(callback: Function): JQuery;
+    /**
+     * Manipulate the queue of functions to be executed, once for each matched element.
+     * 
+     * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.
+     * @param newQueue An array of functions to replace the current queue contents.
+     */
+    queue(queueName: string, newQueue: Function[]): JQuery;
+    /**
+     * Manipulate the queue of functions to be executed, once for each matched element.
+     * 
+     * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.
+     * @param callback The new function to add to the queue, with a function to call that will dequeue the next item.
+     */
+    queue(queueName: string, callback: Function): JQuery;
+}
+declare module "jquery" {
+    export = $;
+}
+declare var jQuery: JQueryStatic;
+declare var $: JQueryStatic;
diff --git a/typings/globals/jquery/typings.json b/typings/globals/jquery/typings.json
new file mode 100644
index 0000000000000000000000000000000000000000..0de31ae1db06f31843a6b5d5c208616ff488af95
--- /dev/null
+++ b/typings/globals/jquery/typings.json
@@ -0,0 +1,8 @@
+{
+  "resolution": "main",
+  "tree": {
+    "src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/5c7d1fcbea9b14df54fc4554d94cb67dfabffd9a/jquery/jquery.d.ts",
+    "raw": "registry:dt/jquery#1.10.0+20160908203239",
+    "typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/5c7d1fcbea9b14df54fc4554d94cb67dfabffd9a/jquery/jquery.d.ts"
+  }
+}
diff --git a/typings/globals/node/index.d.ts b/typings/globals/node/index.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..05880e63ff67f7197f2f64792c1c478ba0cd763d
--- /dev/null
+++ b/typings/globals/node/index.d.ts
@@ -0,0 +1,3464 @@
+// Generated by typings
+// Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/66484e9f11a93a89d972ba009e81957338e26ed7/node/node.d.ts
+interface Error {
+    stack?: string;
+}
+
+interface ErrorConstructor {
+    captureStackTrace(targetObject: Object, constructorOpt?: Function): void;
+    stackTraceLimit: number;
+}
+
+// compat for TypeScript 1.8
+// if you use with --target es3 or --target es5 and use below definitions,
+// use the lib.es6.d.ts that is bundled with TypeScript 1.8.
+interface MapConstructor { }
+interface WeakMapConstructor { }
+interface SetConstructor { }
+interface WeakSetConstructor { }
+
+/************************************************
+*                                               *
+*                   GLOBAL                      *
+*                                               *
+************************************************/
+declare var process: NodeJS.Process;
+declare var global: NodeJS.Global;
+
+declare var __filename: string;
+declare var __dirname: string;
+
+declare function setTimeout(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timer;
+declare function clearTimeout(timeoutId: NodeJS.Timer): void;
+declare function setInterval(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timer;
+declare function clearInterval(intervalId: NodeJS.Timer): void;
+declare function setImmediate(callback: (...args: any[]) => void, ...args: any[]): any;
+declare function clearImmediate(immediateId: any): void;
+
+interface NodeRequireFunction {
+    (id: string): any;
+}
+
+interface NodeRequire extends NodeRequireFunction {
+    resolve(id: string): string;
+    cache: any;
+    extensions: any;
+    main: any;
+}
+
+declare var require: NodeRequire;
+
+interface NodeModule {
+    exports: any;
+    require: NodeRequireFunction;
+    id: string;
+    filename: string;
+    loaded: boolean;
+    parent: any;
+    children: any[];
+}
+
+declare var module: NodeModule;
+
+// Same as module.exports
+declare var exports: any;
+declare var SlowBuffer: {
+    new (str: string, encoding?: string): Buffer;
+    new (size: number): Buffer;
+    new (size: Uint8Array): Buffer;
+    new (array: any[]): Buffer;
+    prototype: Buffer;
+    isBuffer(obj: any): boolean;
+    byteLength(string: string, encoding?: string): number;
+    concat(list: Buffer[], totalLength?: number): Buffer;
+};
+
+
+// Buffer class
+type BufferEncoding = "ascii" | "utf8" | "utf16le" | "ucs2" | "binary" | "hex";
+interface Buffer extends NodeBuffer { }
+
+/**
+ * Raw data is stored in instances of the Buffer class.
+ * A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap.  A Buffer cannot be resized.
+ * Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex'
+ */
+declare var Buffer: {
+    /**
+     * Allocates a new buffer containing the given {str}.
+     *
+     * @param str String to store in buffer.
+     * @param encoding encoding to use, optional.  Default is 'utf8'
+     */
+    new (str: string, encoding?: string): Buffer;
+    /**
+     * Allocates a new buffer of {size} octets.
+     *
+     * @param size count of octets to allocate.
+     */
+    new (size: number): Buffer;
+    /**
+     * Allocates a new buffer containing the given {array} of octets.
+     *
+     * @param array The octets to store.
+     */
+    new (array: Uint8Array): Buffer;
+    /**
+     * Produces a Buffer backed by the same allocated memory as
+     * the given {ArrayBuffer}.
+     *
+     *
+     * @param arrayBuffer The ArrayBuffer with which to share memory.
+     */
+    new (arrayBuffer: ArrayBuffer): Buffer;
+    /**
+     * Allocates a new buffer containing the given {array} of octets.
+     *
+     * @param array The octets to store.
+     */
+    new (array: any[]): Buffer;
+    /**
+     * Copies the passed {buffer} data onto a new {Buffer} instance.
+     *
+     * @param buffer The buffer to copy.
+     */
+    new (buffer: Buffer): Buffer;
+    prototype: Buffer;
+    /**
+     * Allocates a new Buffer using an {array} of octets.
+     *
+     * @param array
+     */
+    from(array: any[]): Buffer;
+    /**
+     * When passed a reference to the .buffer property of a TypedArray instance,
+     * the newly created Buffer will share the same allocated memory as the TypedArray.
+     * The optional {byteOffset} and {length} arguments specify a memory range
+     * within the {arrayBuffer} that will be shared by the Buffer.
+     *
+     * @param arrayBuffer The .buffer property of a TypedArray or a new ArrayBuffer()
+     * @param byteOffset
+     * @param length
+     */
+    from(arrayBuffer: ArrayBuffer, byteOffset?: number, length?: number): Buffer;
+    /**
+     * Copies the passed {buffer} data onto a new Buffer instance.
+     *
+     * @param buffer
+     */
+    from(buffer: Buffer): Buffer;
+    /**
+     * Creates a new Buffer containing the given JavaScript string {str}.
+     * If provided, the {encoding} parameter identifies the character encoding.
+     * If not provided, {encoding} defaults to 'utf8'.
+     *
+     * @param str
+     */
+    from(str: string, encoding?: string): Buffer;
+    /**
+     * Returns true if {obj} is a Buffer
+     *
+     * @param obj object to test.
+     */
+    isBuffer(obj: any): obj is Buffer;
+    /**
+     * Returns true if {encoding} is a valid encoding argument.
+     * Valid string encodings in Node 0.12: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex'
+     *
+     * @param encoding string to test.
+     */
+    isEncoding(encoding: string): boolean;
+    /**
+     * Gives the actual byte length of a string. encoding defaults to 'utf8'.
+     * This is not the same as String.prototype.length since that returns the number of characters in a string.
+     *
+     * @param string string to test.
+     * @param encoding encoding used to evaluate (defaults to 'utf8')
+     */
+    byteLength(string: string, encoding?: string): number;
+    /**
+     * Returns a buffer which is the result of concatenating all the buffers in the list together.
+     *
+     * If the list has no items, or if the totalLength is 0, then it returns a zero-length buffer.
+     * If the list has exactly one item, then the first item of the list is returned.
+     * If the list has more than one item, then a new Buffer is created.
+     *
+     * @param list An array of Buffer objects to concatenate
+     * @param totalLength Total length of the buffers when concatenated.
+     *   If totalLength is not provided, it is read from the buffers in the list. However, this adds an additional loop to the function, so it is faster to provide the length explicitly.
+     */
+    concat(list: Buffer[], totalLength?: number): Buffer;
+    /**
+     * The same as buf1.compare(buf2).
+     */
+    compare(buf1: Buffer, buf2: Buffer): number;
+    /**
+     * Allocates a new buffer of {size} octets.
+     *
+     * @param size count of octets to allocate.
+     * @param fill if specified, buffer will be initialized by calling buf.fill(fill).
+     *    If parameter is omitted, buffer will be filled with zeros.
+     * @param encoding encoding used for call to buf.fill while initalizing
+     */
+    alloc(size: number, fill?: string | Buffer | number, encoding?: string): Buffer;
+    /**
+     * Allocates a new buffer of {size} octets, leaving memory not initialized, so the contents
+     * of the newly created Buffer are unknown and may contain sensitive data.
+     *
+     * @param size count of octets to allocate
+     */
+    allocUnsafe(size: number): Buffer;
+    /**
+     * Allocates a new non-pooled buffer of {size} octets, leaving memory not initialized, so the contents
+     * of the newly created Buffer are unknown and may contain sensitive data.
+     *
+     * @param size count of octets to allocate
+     */
+    allocUnsafeSlow(size: number): Buffer;
+};
+
+/************************************************
+*                                               *
+*               GLOBAL INTERFACES               *
+*                                               *
+************************************************/
+declare namespace NodeJS {
+    export interface ErrnoException extends Error {
+        errno?: string;
+        code?: string;
+        path?: string;
+        syscall?: string;
+        stack?: string;
+    }
+
+    export class EventEmitter {
+        addListener(event: string | symbol, listener: Function): this;
+        on(event: string | symbol, listener: Function): this;
+        once(event: string | symbol, listener: Function): this;
+        removeListener(event: string | symbol, listener: Function): this;
+        removeAllListeners(event?: string | symbol): this;
+        setMaxListeners(n: number): this;
+        getMaxListeners(): number;
+        listeners(event: string | symbol): Function[];
+        emit(event: string | symbol, ...args: any[]): boolean;
+        listenerCount(type: string | symbol): number;
+        // Added in Node 6...
+        prependListener(event: string | symbol, listener: Function): this;
+        prependOnceListener(event: string | symbol, listener: Function): this;
+        eventNames(): (string | symbol)[];
+    }
+
+    export interface ReadableStream extends EventEmitter {
+        readable: boolean;
+        read(size?: number): string | Buffer;
+        setEncoding(encoding: string): void;
+        pause(): ReadableStream;
+        resume(): ReadableStream;
+        pipe<T extends WritableStream>(destination: T, options?: { end?: boolean; }): T;
+        unpipe<T extends WritableStream>(destination?: T): void;
+        unshift(chunk: string): void;
+        unshift(chunk: Buffer): void;
+        wrap(oldStream: ReadableStream): ReadableStream;
+    }
+
+    export interface WritableStream extends EventEmitter {
+        writable: boolean;
+        write(buffer: Buffer | string, cb?: Function): boolean;
+        write(str: string, encoding?: string, cb?: Function): boolean;
+        end(): void;
+        end(buffer: Buffer, cb?: Function): void;
+        end(str: string, cb?: Function): void;
+        end(str: string, encoding?: string, cb?: Function): void;
+    }
+
+    export interface ReadWriteStream extends ReadableStream, WritableStream {
+        pause(): ReadWriteStream;
+        resume(): ReadWriteStream;
+    }
+
+    export interface Events extends EventEmitter { }
+
+    export interface Domain extends Events {
+        run(fn: Function): void;
+        add(emitter: Events): void;
+        remove(emitter: Events): void;
+        bind(cb: (err: Error, data: any) => any): any;
+        intercept(cb: (data: any) => any): any;
+        dispose(): void;
+
+        addListener(event: string, listener: Function): this;
+        on(event: string, listener: Function): this;
+        once(event: string, listener: Function): this;
+        removeListener(event: string, listener: Function): this;
+        removeAllListeners(event?: string): this;
+    }
+
+    export interface MemoryUsage {
+        rss: number;
+        heapTotal: number;
+        heapUsed: number;
+    }
+
+    export interface ProcessVersions {
+        http_parser: string;
+        node: string;
+        v8: string;
+        ares: string;
+        uv: string;
+        zlib: string;
+        modules: string;
+        openssl: string;
+    }
+
+    export interface Process extends EventEmitter {
+        stdout: WritableStream;
+        stderr: WritableStream;
+        stdin: ReadableStream;
+        argv: string[];
+        execArgv: string[];
+        execPath: string;
+        abort(): void;
+        chdir(directory: string): void;
+        cwd(): string;
+        env: any;
+        exit(code?: number): void;
+        exitCode: number;
+        getgid(): number;
+        setgid(id: number): void;
+        setgid(id: string): void;
+        getuid(): number;
+        setuid(id: number): void;
+        setuid(id: string): void;
+        version: string;
+        versions: ProcessVersions;
+        config: {
+            target_defaults: {
+                cflags: any[];
+                default_configuration: string;
+                defines: string[];
+                include_dirs: string[];
+                libraries: string[];
+            };
+            variables: {
+                clang: number;
+                host_arch: string;
+                node_install_npm: boolean;
+                node_install_waf: boolean;
+                node_prefix: string;
+                node_shared_openssl: boolean;
+                node_shared_v8: boolean;
+                node_shared_zlib: boolean;
+                node_use_dtrace: boolean;
+                node_use_etw: boolean;
+                node_use_openssl: boolean;
+                target_arch: string;
+                v8_no_strict_aliasing: number;
+                v8_use_snapshot: boolean;
+                visibility: string;
+            };
+        };
+        kill(pid: number, signal?: string | number): void;
+        pid: number;
+        title: string;
+        arch: string;
+        platform: string;
+        memoryUsage(): MemoryUsage;
+        nextTick(callback: Function, ...args: any[]): void;
+        umask(mask?: number): number;
+        uptime(): number;
+        hrtime(time?: number[]): number[];
+        domain: Domain;
+
+        // Worker
+        send?(message: any, sendHandle?: any): void;
+        disconnect(): void;
+        connected: boolean;
+    }
+
+    export interface Global {
+        Array: typeof Array;
+        ArrayBuffer: typeof ArrayBuffer;
+        Boolean: typeof Boolean;
+        Buffer: typeof Buffer;
+        DataView: typeof DataView;
+        Date: typeof Date;
+        Error: typeof Error;
+        EvalError: typeof EvalError;
+        Float32Array: typeof Float32Array;
+        Float64Array: typeof Float64Array;
+        Function: typeof Function;
+        GLOBAL: Global;
+        Infinity: typeof Infinity;
+        Int16Array: typeof Int16Array;
+        Int32Array: typeof Int32Array;
+        Int8Array: typeof Int8Array;
+        Intl: typeof Intl;
+        JSON: typeof JSON;
+        Map: MapConstructor;
+        Math: typeof Math;
+        NaN: typeof NaN;
+        Number: typeof Number;
+        Object: typeof Object;
+        Promise: Function;
+        RangeError: typeof RangeError;
+        ReferenceError: typeof ReferenceError;
+        RegExp: typeof RegExp;
+        Set: SetConstructor;
+        String: typeof String;
+        Symbol: Function;
+        SyntaxError: typeof SyntaxError;
+        TypeError: typeof TypeError;
+        URIError: typeof URIError;
+        Uint16Array: typeof Uint16Array;
+        Uint32Array: typeof Uint32Array;
+        Uint8Array: typeof Uint8Array;
+        Uint8ClampedArray: Function;
+        WeakMap: WeakMapConstructor;
+        WeakSet: WeakSetConstructor;
+        clearImmediate: (immediateId: any) => void;
+        clearInterval: (intervalId: NodeJS.Timer) => void;
+        clearTimeout: (timeoutId: NodeJS.Timer) => void;
+        console: typeof console;
+        decodeURI: typeof decodeURI;
+        decodeURIComponent: typeof decodeURIComponent;
+        encodeURI: typeof encodeURI;
+        encodeURIComponent: typeof encodeURIComponent;
+        escape: (str: string) => string;
+        eval: typeof eval;
+        global: Global;
+        isFinite: typeof isFinite;
+        isNaN: typeof isNaN;
+        parseFloat: typeof parseFloat;
+        parseInt: typeof parseInt;
+        process: Process;
+        root: Global;
+        setImmediate: (callback: (...args: any[]) => void, ...args: any[]) => any;
+        setInterval: (callback: (...args: any[]) => void, ms: number, ...args: any[]) => NodeJS.Timer;
+        setTimeout: (callback: (...args: any[]) => void, ms: number, ...args: any[]) => NodeJS.Timer;
+        undefined: typeof undefined;
+        unescape: (str: string) => string;
+        gc: () => void;
+        v8debug?: any;
+    }
+
+    export interface Timer {
+        ref(): void;
+        unref(): void;
+    }
+}
+
+interface IterableIterator<T> { }
+
+/**
+ * @deprecated
+ */
+interface NodeBuffer extends Uint8Array {
+    write(string: string, offset?: number, length?: number, encoding?: string): number;
+    toString(encoding?: string, start?: number, end?: number): string;
+    toJSON(): { type: 'Buffer', data: any[] };
+    equals(otherBuffer: Buffer): boolean;
+    compare(otherBuffer: Buffer, targetStart?: number, targetEnd?: number, sourceStart?: number, sourceEnd?: number): number;
+    copy(targetBuffer: Buffer, targetStart?: number, sourceStart?: number, sourceEnd?: number): number;
+    slice(start?: number, end?: number): Buffer;
+    writeUIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
+    writeUIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
+    writeIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
+    writeIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
+    readUIntLE(offset: number, byteLength: number, noAssert?: boolean): number;
+    readUIntBE(offset: number, byteLength: number, noAssert?: boolean): number;
+    readIntLE(offset: number, byteLength: number, noAssert?: boolean): number;
+    readIntBE(offset: number, byteLength: number, noAssert?: boolean): number;
+    readUInt8(offset: number, noAssert?: boolean): number;
+    readUInt16LE(offset: number, noAssert?: boolean): number;
+    readUInt16BE(offset: number, noAssert?: boolean): number;
+    readUInt32LE(offset: number, noAssert?: boolean): number;
+    readUInt32BE(offset: number, noAssert?: boolean): number;
+    readInt8(offset: number, noAssert?: boolean): number;
+    readInt16LE(offset: number, noAssert?: boolean): number;
+    readInt16BE(offset: number, noAssert?: boolean): number;
+    readInt32LE(offset: number, noAssert?: boolean): number;
+    readInt32BE(offset: number, noAssert?: boolean): number;
+    readFloatLE(offset: number, noAssert?: boolean): number;
+    readFloatBE(offset: number, noAssert?: boolean): number;
+    readDoubleLE(offset: number, noAssert?: boolean): number;
+    readDoubleBE(offset: number, noAssert?: boolean): number;
+    swap16(): Buffer;
+    swap32(): Buffer;
+    swap64(): Buffer;
+    writeUInt8(value: number, offset: number, noAssert?: boolean): number;
+    writeUInt16LE(value: number, offset: number, noAssert?: boolean): number;
+    writeUInt16BE(value: number, offset: number, noAssert?: boolean): number;
+    writeUInt32LE(value: number, offset: number, noAssert?: boolean): number;
+    writeUInt32BE(value: number, offset: number, noAssert?: boolean): number;
+    writeInt8(value: number, offset: number, noAssert?: boolean): number;
+    writeInt16LE(value: number, offset: number, noAssert?: boolean): number;
+    writeInt16BE(value: number, offset: number, noAssert?: boolean): number;
+    writeInt32LE(value: number, offset: number, noAssert?: boolean): number;
+    writeInt32BE(value: number, offset: number, noAssert?: boolean): number;
+    writeFloatLE(value: number, offset: number, noAssert?: boolean): number;
+    writeFloatBE(value: number, offset: number, noAssert?: boolean): number;
+    writeDoubleLE(value: number, offset: number, noAssert?: boolean): number;
+    writeDoubleBE(value: number, offset: number, noAssert?: boolean): number;
+    fill(value: any, offset?: number, end?: number): this;
+    indexOf(value: string | number | Buffer, byteOffset?: number, encoding?: string): number;
+    lastIndexOf(value: string | number | Buffer, byteOffset?: number, encoding?: string): number;
+    entries(): IterableIterator<[number, number]>;
+    includes(value: string | number | Buffer, byteOffset?: number, encoding?: string): boolean;
+    keys(): IterableIterator<number>;
+    values(): IterableIterator<number>;
+}
+
+/************************************************
+*                                               *
+*                   MODULES                     *
+*                                               *
+************************************************/
+declare module "buffer" {
+    export var INSPECT_MAX_BYTES: number;
+    var BuffType: typeof Buffer;
+    var SlowBuffType: typeof SlowBuffer;
+    export { BuffType as Buffer, SlowBuffType as SlowBuffer };
+}
+
+declare module "querystring" {
+    export interface StringifyOptions {
+        encodeURIComponent?: Function;
+    }
+
+    export interface ParseOptions {
+        maxKeys?: number;
+        decodeURIComponent?: Function;
+    }
+
+    export function stringify<T>(obj: T, sep?: string, eq?: string, options?: StringifyOptions): string;
+    export function parse(str: string, sep?: string, eq?: string, options?: ParseOptions): any;
+    export function parse<T extends {}>(str: string, sep?: string, eq?: string, options?: ParseOptions): T;
+    export function escape(str: string): string;
+    export function unescape(str: string): string;
+}
+
+declare module "events" {
+    export class EventEmitter extends NodeJS.EventEmitter {
+        static EventEmitter: EventEmitter;
+        static listenerCount(emitter: EventEmitter, event: string | symbol): number; // deprecated
+        static defaultMaxListeners: number;
+
+        addListener(event: string | symbol, listener: Function): this;
+        on(event: string | symbol, listener: Function): this;
+        once(event: string | symbol, listener: Function): this;
+        prependListener(event: string | symbol, listener: Function): this;
+        prependOnceListener(event: string | symbol, listener: Function): this;
+        removeListener(event: string | symbol, listener: Function): this;
+        removeAllListeners(event?: string | symbol): this;
+        setMaxListeners(n: number): this;
+        getMaxListeners(): number;
+        listeners(event: string | symbol): Function[];
+        emit(event: string | symbol, ...args: any[]): boolean;
+        eventNames(): (string | symbol)[];
+        listenerCount(type: string | symbol): number;
+    }
+}
+
+declare module "http" {
+    import * as events from "events";
+    import * as net from "net";
+    import * as stream from "stream";
+
+    export interface RequestOptions {
+        protocol?: string;
+        host?: string;
+        hostname?: string;
+        family?: number;
+        port?: number;
+        localAddress?: string;
+        socketPath?: string;
+        method?: string;
+        path?: string;
+        headers?: { [key: string]: any };
+        auth?: string;
+        agent?: Agent | boolean;
+    }
+
+    export interface Server extends net.Server {
+        setTimeout(msecs: number, callback: Function): void;
+        maxHeadersCount: number;
+        timeout: number;
+        listening: boolean;
+    }
+    /**
+     * @deprecated Use IncomingMessage
+     */
+    export interface ServerRequest extends IncomingMessage {
+        connection: net.Socket;
+    }
+    export interface ServerResponse extends stream.Writable {
+        // Extended base methods
+        write(buffer: Buffer): boolean;
+        write(buffer: Buffer, cb?: Function): boolean;
+        write(str: string, cb?: Function): boolean;
+        write(str: string, encoding?: string, cb?: Function): boolean;
+        write(str: string, encoding?: string, fd?: string): boolean;
+
+        writeContinue(): void;
+        writeHead(statusCode: number, reasonPhrase?: string, headers?: any): void;
+        writeHead(statusCode: number, headers?: any): void;
+        statusCode: number;
+        statusMessage: string;
+        headersSent: boolean;
+        setHeader(name: string, value: string | string[]): void;
+        setTimeout(msecs: number, callback: Function): ServerResponse;
+        sendDate: boolean;
+        getHeader(name: string): string;
+        removeHeader(name: string): void;
+        write(chunk: any, encoding?: string): any;
+        addTrailers(headers: any): void;
+        finished: boolean;
+
+        // Extended base methods
+        end(): void;
+        end(buffer: Buffer, cb?: Function): void;
+        end(str: string, cb?: Function): void;
+        end(str: string, encoding?: string, cb?: Function): void;
+        end(data?: any, encoding?: string): void;
+    }
+    export interface ClientRequest extends stream.Writable {
+        // Extended base methods
+        write(buffer: Buffer): boolean;
+        write(buffer: Buffer, cb?: Function): boolean;
+        write(str: string, cb?: Function): boolean;
+        write(str: string, encoding?: string, cb?: Function): boolean;
+        write(str: string, encoding?: string, fd?: string): boolean;
+
+        write(chunk: any, encoding?: string): void;
+        abort(): void;
+        setTimeout(timeout: number, callback?: Function): void;
+        setNoDelay(noDelay?: boolean): void;
+        setSocketKeepAlive(enable?: boolean, initialDelay?: number): void;
+
+        setHeader(name: string, value: string | string[]): void;
+        getHeader(name: string): string;
+        removeHeader(name: string): void;
+        addTrailers(headers: any): void;
+
+        // Extended base methods
+        end(): void;
+        end(buffer: Buffer, cb?: Function): void;
+        end(str: string, cb?: Function): void;
+        end(str: string, encoding?: string, cb?: Function): void;
+        end(data?: any, encoding?: string): void;
+    }
+    export interface IncomingMessage extends stream.Readable {
+        httpVersion: string;
+        httpVersionMajor: number;
+        httpVersionMinor: number;
+        connection: net.Socket;
+        headers: any;
+        rawHeaders: string[];
+        trailers: any;
+        rawTrailers: any;
+        setTimeout(msecs: number, callback: Function): NodeJS.Timer;
+        /**
+         * Only valid for request obtained from http.Server.
+         */
+        method?: string;
+        /**
+         * Only valid for request obtained from http.Server.
+         */
+        url?: string;
+        /**
+         * Only valid for response obtained from http.ClientRequest.
+         */
+        statusCode?: number;
+        /**
+         * Only valid for response obtained from http.ClientRequest.
+         */
+        statusMessage?: string;
+        socket: net.Socket;
+        destroy(error?: Error): void;
+    }
+    /**
+     * @deprecated Use IncomingMessage
+     */
+    export interface ClientResponse extends IncomingMessage { }
+
+    export interface AgentOptions {
+        /**
+         * Keep sockets around in a pool to be used by other requests in the future. Default = false
+         */
+        keepAlive?: boolean;
+        /**
+         * When using HTTP KeepAlive, how often to send TCP KeepAlive packets over sockets being kept alive. Default = 1000.
+         * Only relevant if keepAlive is set to true.
+         */
+        keepAliveMsecs?: number;
+        /**
+         * Maximum number of sockets to allow per host. Default for Node 0.10 is 5, default for Node 0.12 is Infinity
+         */
+        maxSockets?: number;
+        /**
+         * Maximum number of sockets to leave open in a free state. Only relevant if keepAlive is set to true. Default = 256.
+         */
+        maxFreeSockets?: number;
+    }
+
+    export class Agent {
+        maxSockets: number;
+        sockets: any;
+        requests: any;
+
+        constructor(opts?: AgentOptions);
+
+        /**
+         * Destroy any sockets that are currently in use by the agent.
+         * It is usually not necessary to do this. However, if you are using an agent with KeepAlive enabled,
+         * then it is best to explicitly shut down the agent when you know that it will no longer be used. Otherwise,
+         * sockets may hang open for quite a long time before the server terminates them.
+         */
+        destroy(): void;
+    }
+
+    export var METHODS: string[];
+
+    export var STATUS_CODES: {
+        [errorCode: number]: string;
+        [errorCode: string]: string;
+    };
+    export function createServer(requestListener?: (request: IncomingMessage, response: ServerResponse) => void): Server;
+    export function createClient(port?: number, host?: string): any;
+    export function request(options: RequestOptions, callback?: (res: IncomingMessage) => void): ClientRequest;
+    export function get(options: any, callback?: (res: IncomingMessage) => void): ClientRequest;
+    export var globalAgent: Agent;
+}
+
+declare module "cluster" {
+    import * as child from "child_process";
+    import * as events from "events";
+    import * as net from "net";
+
+    // interfaces
+    export interface ClusterSettings {
+        execArgv?: string[]; // default: process.execArgv
+        exec?: string;
+        args?: string[];
+        silent?: boolean;
+        stdio?: any[];
+        uid?: number;
+        gid?: number;
+    }
+
+    export interface ClusterSetupMasterSettings {
+        exec?: string;  // default: process.argv[1]
+        args?: string[];  // default: process.argv.slice(2)
+        silent?: boolean;  // default: false
+        stdio?: any[];
+    }
+
+    export interface Address {
+        address: string;
+        port: number;
+        addressType: number | "udp4" | "udp6";  // 4, 6, -1, "udp4", "udp6"
+    }
+
+    export class Worker extends events.EventEmitter {
+        id: string;
+        process: child.ChildProcess;
+        suicide: boolean;
+        send(message: any, sendHandle?: any): boolean;
+        kill(signal?: string): void;
+        destroy(signal?: string): void;
+        disconnect(): void;
+        isConnected(): boolean;
+        isDead(): boolean;
+        exitedAfterDisconnect: boolean;
+
+        /**
+         * events.EventEmitter
+         *   1. disconnect
+         *   2. error
+         *   3. exit
+         *   4. listening
+         *   5. message
+         *   6. online
+         */
+        addListener(event: string, listener: Function): this;
+        addListener(event: "disconnect", listener: () => void): this;
+        addListener(event: "error", listener: (code: number, signal: string) => void): this;
+        addListener(event: "exit", listener: (code: number, signal: string) => void): this;
+        addListener(event: "listening", listener: (address: Address) => void): this;
+        addListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this;  // the handle is a net.Socket or net.Server object, or undefined.
+        addListener(event: "online", listener: () => void): this;
+
+        on(event: string, listener: Function): this;
+        on(event: "disconnect", listener: () => void): this;
+        on(event: "error", listener: (code: number, signal: string) => void): this;
+        on(event: "exit", listener: (code: number, signal: string) => void): this;
+        on(event: "listening", listener: (address: Address) => void): this;
+        on(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this;  // the handle is a net.Socket or net.Server object, or undefined.
+        on(event: "online", listener: () => void): this;
+
+        once(event: string, listener: Function): this;
+        once(event: "disconnect", listener: () => void): this;
+        once(event: "error", listener: (code: number, signal: string) => void): this;
+        once(event: "exit", listener: (code: number, signal: string) => void): this;
+        once(event: "listening", listener: (address: Address) => void): this;
+        once(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this;  // the handle is a net.Socket or net.Server object, or undefined.
+        once(event: "online", listener: () => void): this;
+
+        prependListener(event: string, listener: Function): this;
+        prependListener(event: "disconnect", listener: () => void): this;
+        prependListener(event: "error", listener: (code: number, signal: string) => void): this;
+        prependListener(event: "exit", listener: (code: number, signal: string) => void): this;
+        prependListener(event: "listening", listener: (address: Address) => void): this;
+        prependListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this;  // the handle is a net.Socket or net.Server object, or undefined.
+        prependListener(event: "online", listener: () => void): this;
+
+        prependOnceListener(event: string, listener: Function): this;
+        prependOnceListener(event: "disconnect", listener: () => void): this;
+        prependOnceListener(event: "error", listener: (code: number, signal: string) => void): this;
+        prependOnceListener(event: "exit", listener: (code: number, signal: string) => void): this;
+        prependOnceListener(event: "listening", listener: (address: Address) => void): this;
+        prependOnceListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this;  // the handle is a net.Socket or net.Server object, or undefined.
+        prependOnceListener(event: "online", listener: () => void): this;
+    }
+
+    export interface Cluster extends events.EventEmitter {
+        Worker: Worker;
+        disconnect(callback?: Function): void;
+        fork(env?: any): Worker;
+        isMaster: boolean;
+        isWorker: boolean;
+        // TODO: cluster.schedulingPolicy
+        settings: ClusterSettings;
+        setupMaster(settings?: ClusterSetupMasterSettings): void;
+        worker: Worker;
+        workers: {
+            [index: string]: Worker
+        };
+
+        /**
+         * events.EventEmitter
+         *   1. disconnect
+         *   2. exit
+         *   3. fork
+         *   4. listening
+         *   5. message
+         *   6. online
+         *   7. setup
+         */
+        addListener(event: string, listener: Function): this;
+        addListener(event: "disconnect", listener: (worker: Worker) => void): this;
+        addListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this;
+        addListener(event: "fork", listener: (worker: Worker) => void): this;
+        addListener(event: "listening", listener: (worker: Worker, address: Address) => void): this;
+        addListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this;  // the handle is a net.Socket or net.Server object, or undefined.
+        addListener(event: "online", listener: (worker: Worker) => void): this;
+        addListener(event: "setup", listener: (settings: any) => void): this;
+
+        on(event: string, listener: Function): this;
+        on(event: "disconnect", listener: (worker: Worker) => void): this;
+        on(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this;
+        on(event: "fork", listener: (worker: Worker) => void): this;
+        on(event: "listening", listener: (worker: Worker, address: Address) => void): this;
+        on(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this;  // the handle is a net.Socket or net.Server object, or undefined.
+        on(event: "online", listener: (worker: Worker) => void): this;
+        on(event: "setup", listener: (settings: any) => void): this;
+
+        once(event: string, listener: Function): this;
+        once(event: "disconnect", listener: (worker: Worker) => void): this;
+        once(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this;
+        once(event: "fork", listener: (worker: Worker) => void): this;
+        once(event: "listening", listener: (worker: Worker, address: Address) => void): this;
+        once(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this;  // the handle is a net.Socket or net.Server object, or undefined.
+        once(event: "online", listener: (worker: Worker) => void): this;
+        once(event: "setup", listener: (settings: any) => void): this;
+
+        prependListener(event: string, listener: Function): this;
+        prependListener(event: "disconnect", listener: (worker: Worker) => void): this;
+        prependListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this;
+        prependListener(event: "fork", listener: (worker: Worker) => void): this;
+        prependListener(event: "listening", listener: (worker: Worker, address: Address) => void): this;
+        prependListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this;  // the handle is a net.Socket or net.Server object, or undefined.
+        prependListener(event: "online", listener: (worker: Worker) => void): this;
+        prependListener(event: "setup", listener: (settings: any) => void): this;
+
+        prependOnceListener(event: string, listener: Function): this;
+        prependOnceListener(event: "disconnect", listener: (worker: Worker) => void): this;
+        prependOnceListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this;
+        prependOnceListener(event: "fork", listener: (worker: Worker) => void): this;
+        prependOnceListener(event: "listening", listener: (worker: Worker, address: Address) => void): this;
+        prependOnceListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this;  // the handle is a net.Socket or net.Server object, or undefined.
+        prependOnceListener(event: "online", listener: (worker: Worker) => void): this;
+        prependOnceListener(event: "setup", listener: (settings: any) => void): this;
+
+    }
+
+    export function disconnect(callback?: Function): void;
+    export function fork(env?: any): Worker;
+    export var isMaster: boolean;
+    export var isWorker: boolean;
+    // TODO: cluster.schedulingPolicy
+    export var settings: ClusterSettings;
+    export function setupMaster(settings?: ClusterSetupMasterSettings): void;
+    export var worker: Worker;
+    export var workers: {
+        [index: string]: Worker
+    };
+
+    /**
+     * events.EventEmitter
+     *   1. disconnect
+     *   2. exit
+     *   3. fork
+     *   4. listening
+     *   5. message
+     *   6. online
+     *   7. setup
+     */
+    export function addListener(event: string, listener: Function): Cluster;
+    export function addListener(event: "disconnect", listener: (worker: Worker) => void): Cluster;
+    export function addListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): Cluster;
+    export function addListener(event: "fork", listener: (worker: Worker) => void): Cluster;
+    export function addListener(event: "listening", listener: (worker: Worker, address: Address) => void): Cluster;
+    export function addListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): Cluster;  // the handle is a net.Socket or net.Server object, or undefined.
+    export function addListener(event: "online", listener: (worker: Worker) => void): Cluster;
+    export function addListener(event: "setup", listener: (settings: any) => void): Cluster;
+
+    export function on(event: string, listener: Function): Cluster;
+    export function on(event: "disconnect", listener: (worker: Worker) => void): Cluster;
+    export function on(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): Cluster;
+    export function on(event: "fork", listener: (worker: Worker) => void): Cluster;
+    export function on(event: "listening", listener: (worker: Worker, address: Address) => void): Cluster;
+    export function on(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): Cluster;  // the handle is a net.Socket or net.Server object, or undefined.
+    export function on(event: "online", listener: (worker: Worker) => void): Cluster;
+    export function on(event: "setup", listener: (settings: any) => void): Cluster;
+
+    export function once(event: string, listener: Function): Cluster;
+    export function once(event: "disconnect", listener: (worker: Worker) => void): Cluster;
+    export function once(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): Cluster;
+    export function once(event: "fork", listener: (worker: Worker) => void): Cluster;
+    export function once(event: "listening", listener: (worker: Worker, address: Address) => void): Cluster;
+    export function once(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): Cluster;  // the handle is a net.Socket or net.Server object, or undefined.
+    export function once(event: "online", listener: (worker: Worker) => void): Cluster;
+    export function once(event: "setup", listener: (settings: any) => void): Cluster;
+
+    export function removeListener(event: string, listener: Function): Cluster;
+    export function removeAllListeners(event?: string): Cluster;
+    export function setMaxListeners(n: number): Cluster;
+    export function getMaxListeners(): number;
+    export function listeners(event: string): Function[];
+    export function emit(event: string, ...args: any[]): boolean;
+    export function listenerCount(type: string): number;
+
+    export function prependListener(event: string, listener: Function): Cluster;
+    export function prependListener(event: "disconnect", listener: (worker: Worker) => void): Cluster;
+    export function prependListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): Cluster;
+    export function prependListener(event: "fork", listener: (worker: Worker) => void): Cluster;
+    export function prependListener(event: "listening", listener: (worker: Worker, address: Address) => void): Cluster;
+    export function prependListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): Cluster;  // the handle is a net.Socket or net.Server object, or undefined.
+    export function prependListener(event: "online", listener: (worker: Worker) => void): Cluster;
+    export function prependListener(event: "setup", listener: (settings: any) => void): Cluster;
+
+    export function prependOnceListener(event: string, listener: Function): Cluster;
+    export function prependOnceListener(event: "disconnect", listener: (worker: Worker) => void): Cluster;
+    export function prependOnceListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): Cluster;
+    export function prependOnceListener(event: "fork", listener: (worker: Worker) => void): Cluster;
+    export function prependOnceListener(event: "listening", listener: (worker: Worker, address: Address) => void): Cluster;
+    export function prependOnceListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): Cluster;  // the handle is a net.Socket or net.Server object, or undefined.
+    export function prependOnceListener(event: "online", listener: (worker: Worker) => void): Cluster;
+    export function prependOnceListener(event: "setup", listener: (settings: any) => void): Cluster;
+
+    export function eventNames(): string[];
+}
+
+declare module "zlib" {
+    import * as stream from "stream";
+    export interface ZlibOptions { chunkSize?: number; windowBits?: number; level?: number; memLevel?: number; strategy?: number; dictionary?: any; }
+
+    export interface Gzip extends stream.Transform { }
+    export interface Gunzip extends stream.Transform { }
+    export interface Deflate extends stream.Transform { }
+    export interface Inflate extends stream.Transform { }
+    export interface DeflateRaw extends stream.Transform { }
+    export interface InflateRaw extends stream.Transform { }
+    export interface Unzip extends stream.Transform { }
+
+    export function createGzip(options?: ZlibOptions): Gzip;
+    export function createGunzip(options?: ZlibOptions): Gunzip;
+    export function createDeflate(options?: ZlibOptions): Deflate;
+    export function createInflate(options?: ZlibOptions): Inflate;
+    export function createDeflateRaw(options?: ZlibOptions): DeflateRaw;
+    export function createInflateRaw(options?: ZlibOptions): InflateRaw;
+    export function createUnzip(options?: ZlibOptions): Unzip;
+
+    export function deflate(buf: Buffer, callback: (error: Error, result: any) => void): void;
+    export function deflateSync(buf: Buffer, options?: ZlibOptions): any;
+    export function deflateRaw(buf: Buffer, callback: (error: Error, result: any) => void): void;
+    export function deflateRawSync(buf: Buffer, options?: ZlibOptions): any;
+    export function gzip(buf: Buffer, callback: (error: Error, result: any) => void): void;
+    export function gzipSync(buf: Buffer, options?: ZlibOptions): any;
+    export function gunzip(buf: Buffer, callback: (error: Error, result: any) => void): void;
+    export function gunzipSync(buf: Buffer, options?: ZlibOptions): any;
+    export function inflate(buf: Buffer, callback: (error: Error, result: any) => void): void;
+    export function inflateSync(buf: Buffer, options?: ZlibOptions): any;
+    export function inflateRaw(buf: Buffer, callback: (error: Error, result: any) => void): void;
+    export function inflateRawSync(buf: Buffer, options?: ZlibOptions): any;
+    export function unzip(buf: Buffer, callback: (error: Error, result: any) => void): void;
+    export function unzipSync(buf: Buffer, options?: ZlibOptions): any;
+
+    // Constants
+    export var Z_NO_FLUSH: number;
+    export var Z_PARTIAL_FLUSH: number;
+    export var Z_SYNC_FLUSH: number;
+    export var Z_FULL_FLUSH: number;
+    export var Z_FINISH: number;
+    export var Z_BLOCK: number;
+    export var Z_TREES: number;
+    export var Z_OK: number;
+    export var Z_STREAM_END: number;
+    export var Z_NEED_DICT: number;
+    export var Z_ERRNO: number;
+    export var Z_STREAM_ERROR: number;
+    export var Z_DATA_ERROR: number;
+    export var Z_MEM_ERROR: number;
+    export var Z_BUF_ERROR: number;
+    export var Z_VERSION_ERROR: number;
+    export var Z_NO_COMPRESSION: number;
+    export var Z_BEST_SPEED: number;
+    export var Z_BEST_COMPRESSION: number;
+    export var Z_DEFAULT_COMPRESSION: number;
+    export var Z_FILTERED: number;
+    export var Z_HUFFMAN_ONLY: number;
+    export var Z_RLE: number;
+    export var Z_FIXED: number;
+    export var Z_DEFAULT_STRATEGY: number;
+    export var Z_BINARY: number;
+    export var Z_TEXT: number;
+    export var Z_ASCII: number;
+    export var Z_UNKNOWN: number;
+    export var Z_DEFLATED: number;
+    export var Z_NULL: number;
+}
+
+declare module "os" {
+    export interface CpuInfo {
+        model: string;
+        speed: number;
+        times: {
+            user: number;
+            nice: number;
+            sys: number;
+            idle: number;
+            irq: number;
+        };
+    }
+
+    export interface NetworkInterfaceInfo {
+        address: string;
+        netmask: string;
+        family: string;
+        mac: string;
+        internal: boolean;
+    }
+
+    export function hostname(): string;
+    export function loadavg(): number[];
+    export function uptime(): number;
+    export function freemem(): number;
+    export function totalmem(): number;
+    export function cpus(): CpuInfo[];
+    export function type(): string;
+    export function release(): string;
+    export function networkInterfaces(): { [index: string]: NetworkInterfaceInfo[] };
+    export function homedir(): string;
+    export function userInfo(options?: { encoding: string }): { username: string, uid: number, gid: number, shell: any, homedir: string }
+    export var constants: {
+        UV_UDP_REUSEADDR: number,
+        errno: {
+            SIGHUP: number;
+            SIGINT: number;
+            SIGQUIT: number;
+            SIGILL: number;
+            SIGTRAP: number;
+            SIGABRT: number;
+            SIGIOT: number;
+            SIGBUS: number;
+            SIGFPE: number;
+            SIGKILL: number;
+            SIGUSR1: number;
+            SIGSEGV: number;
+            SIGUSR2: number;
+            SIGPIPE: number;
+            SIGALRM: number;
+            SIGTERM: number;
+            SIGCHLD: number;
+            SIGSTKFLT: number;
+            SIGCONT: number;
+            SIGSTOP: number;
+            SIGTSTP: number;
+            SIGTTIN: number;
+            SIGTTOU: number;
+            SIGURG: number;
+            SIGXCPU: number;
+            SIGXFSZ: number;
+            SIGVTALRM: number;
+            SIGPROF: number;
+            SIGWINCH: number;
+            SIGIO: number;
+            SIGPOLL: number;
+            SIGPWR: number;
+            SIGSYS: number;
+            SIGUNUSED: number;
+        },
+        signals: {
+            E2BIG: number;
+            EACCES: number;
+            EADDRINUSE: number;
+            EADDRNOTAVAIL: number;
+            EAFNOSUPPORT: number;
+            EAGAIN: number;
+            EALREADY: number;
+            EBADF: number;
+            EBADMSG: number;
+            EBUSY: number;
+            ECANCELED: number;
+            ECHILD: number;
+            ECONNABORTED: number;
+            ECONNREFUSED: number;
+            ECONNRESET: number;
+            EDEADLK: number;
+            EDESTADDRREQ: number;
+            EDOM: number;
+            EDQUOT: number;
+            EEXIST: number;
+            EFAULT: number;
+            EFBIG: number;
+            EHOSTUNREACH: number;
+            EIDRM: number;
+            EILSEQ: number;
+            EINPROGRESS: number;
+            EINTR: number;
+            EINVAL: number;
+            EIO: number;
+            EISCONN: number;
+            EISDIR: number;
+            ELOOP: number;
+            EMFILE: number;
+            EMLINK: number;
+            EMSGSIZE: number;
+            EMULTIHOP: number;
+            ENAMETOOLONG: number;
+            ENETDOWN: number;
+            ENETRESET: number;
+            ENETUNREACH: number;
+            ENFILE: number;
+            ENOBUFS: number;
+            ENODATA: number;
+            ENODEV: number;
+            ENOENT: number;
+            ENOEXEC: number;
+            ENOLCK: number;
+            ENOLINK: number;
+            ENOMEM: number;
+            ENOMSG: number;
+            ENOPROTOOPT: number;
+            ENOSPC: number;
+            ENOSR: number;
+            ENOSTR: number;
+            ENOSYS: number;
+            ENOTCONN: number;
+            ENOTDIR: number;
+            ENOTEMPTY: number;
+            ENOTSOCK: number;
+            ENOTSUP: number;
+            ENOTTY: number;
+            ENXIO: number;
+            EOPNOTSUPP: number;
+            EOVERFLOW: number;
+            EPERM: number;
+            EPIPE: number;
+            EPROTO: number;
+            EPROTONOSUPPORT: number;
+            EPROTOTYPE: number;
+            ERANGE: number;
+            EROFS: number;
+            ESPIPE: number;
+            ESRCH: number;
+            ESTALE: number;
+            ETIME: number;
+            ETIMEDOUT: number;
+            ETXTBSY: number;
+            EWOULDBLOCK: number;
+            EXDEV: number;
+        },
+    };
+    export function arch(): string;
+    export function platform(): string;
+    export function tmpdir(): string;
+    export var EOL: string;
+    export function endianness(): "BE" | "LE";
+}
+
+declare module "https" {
+    import * as tls from "tls";
+    import * as events from "events";
+    import * as http from "http";
+
+    export interface ServerOptions {
+        pfx?: any;
+        key?: any;
+        passphrase?: string;
+        cert?: any;
+        ca?: any;
+        crl?: any;
+        ciphers?: string;
+        honorCipherOrder?: boolean;
+        requestCert?: boolean;
+        rejectUnauthorized?: boolean;
+        NPNProtocols?: any;
+        SNICallback?: (servername: string, cb: (err: Error, ctx: tls.SecureContext) => any) => any;
+    }
+
+    export interface RequestOptions extends http.RequestOptions {
+        pfx?: any;
+        key?: any;
+        passphrase?: string;
+        cert?: any;
+        ca?: any;
+        ciphers?: string;
+        rejectUnauthorized?: boolean;
+        secureProtocol?: string;
+    }
+
+    export interface Agent extends http.Agent { }
+
+    export interface AgentOptions extends http.AgentOptions {
+        pfx?: any;
+        key?: any;
+        passphrase?: string;
+        cert?: any;
+        ca?: any;
+        ciphers?: string;
+        rejectUnauthorized?: boolean;
+        secureProtocol?: string;
+        maxCachedSessions?: number;
+    }
+
+    export var Agent: {
+        new (options?: AgentOptions): Agent;
+    };
+    export interface Server extends tls.Server { }
+    export function createServer(options: ServerOptions, requestListener?: Function): Server;
+    export function request(options: RequestOptions, callback?: (res: http.IncomingMessage) => void): http.ClientRequest;
+    export function get(options: RequestOptions, callback?: (res: http.IncomingMessage) => void): http.ClientRequest;
+    export var globalAgent: Agent;
+}
+
+declare module "punycode" {
+    export function decode(string: string): string;
+    export function encode(string: string): string;
+    export function toUnicode(domain: string): string;
+    export function toASCII(domain: string): string;
+    export var ucs2: ucs2;
+    interface ucs2 {
+        decode(string: string): number[];
+        encode(codePoints: number[]): string;
+    }
+    export var version: any;
+}
+
+declare module "repl" {
+    import * as stream from "stream";
+    import * as readline from "readline";
+
+    export interface ReplOptions {
+        prompt?: string;
+        input?: NodeJS.ReadableStream;
+        output?: NodeJS.WritableStream;
+        terminal?: boolean;
+        eval?: Function;
+        useColors?: boolean;
+        useGlobal?: boolean;
+        ignoreUndefined?: boolean;
+        writer?: Function;
+        completer?: Function;
+        replMode?: any;
+        breakEvalOnSigint?: any;
+    }
+
+    export interface REPLServer extends readline.ReadLine {
+        defineCommand(keyword: string, cmd: Function | { help: string, action: Function }): void;
+        displayPrompt(preserveCursor?: boolean): void
+    }
+
+    export function start(options: ReplOptions): REPLServer;
+}
+
+declare module "readline" {
+    import * as events from "events";
+    import * as stream from "stream";
+
+    export interface Key {
+        sequence?: string;
+        name?: string;
+        ctrl?: boolean;
+        meta?: boolean;
+        shift?: boolean;
+    }
+
+    export interface ReadLine extends events.EventEmitter {
+        setPrompt(prompt: string): void;
+        prompt(preserveCursor?: boolean): void;
+        question(query: string, callback: (answer: string) => void): void;
+        pause(): ReadLine;
+        resume(): ReadLine;
+        close(): void;
+        write(data: string | Buffer, key?: Key): void;
+    }
+
+    export interface Completer {
+        (line: string): CompleterResult;
+        (line: string, callback: (err: any, result: CompleterResult) => void): any;
+    }
+
+    export interface CompleterResult {
+        completions: string[];
+        line: string;
+    }
+
+    export interface ReadLineOptions {
+        input: NodeJS.ReadableStream;
+        output?: NodeJS.WritableStream;
+        completer?: Completer;
+        terminal?: boolean;
+        historySize?: number;
+    }
+
+    export function createInterface(input: NodeJS.ReadableStream, output?: NodeJS.WritableStream, completer?: Completer, terminal?: boolean): ReadLine;
+    export function createInterface(options: ReadLineOptions): ReadLine;
+
+    export function cursorTo(stream: NodeJS.WritableStream, x: number, y: number): void;
+    export function moveCursor(stream: NodeJS.WritableStream, dx: number | string, dy: number | string): void;
+    export function clearLine(stream: NodeJS.WritableStream, dir: number): void;
+    export function clearScreenDown(stream: NodeJS.WritableStream): void;
+}
+
+declare module "vm" {
+    export interface Context { }
+    export interface ScriptOptions {
+        filename?: string;
+        lineOffset?: number;
+        columnOffset?: number;
+        displayErrors?: boolean;
+        timeout?: number;
+        cachedData?: Buffer;
+        produceCachedData?: boolean;
+    }
+    export interface RunningScriptOptions {
+        filename?: string;
+        lineOffset?: number;
+        columnOffset?: number;
+        displayErrors?: boolean;
+        timeout?: number;
+    }
+    export class Script {
+        constructor(code: string, options?: ScriptOptions);
+        runInContext(contextifiedSandbox: Context, options?: RunningScriptOptions): any;
+        runInNewContext(sandbox?: Context, options?: RunningScriptOptions): any;
+        runInThisContext(options?: RunningScriptOptions): any;
+    }
+    export function createContext(sandbox?: Context): Context;
+    export function isContext(sandbox: Context): boolean;
+    export function runInContext(code: string, contextifiedSandbox: Context, options?: RunningScriptOptions): any;
+    export function runInDebugContext(code: string): any;
+    export function runInNewContext(code: string, sandbox?: Context, options?: RunningScriptOptions): any;
+    export function runInThisContext(code: string, options?: RunningScriptOptions): any;
+}
+
+declare module "child_process" {
+    import * as events from "events";
+    import * as stream from "stream";
+
+    export interface ChildProcess extends events.EventEmitter {
+        stdin: stream.Writable;
+        stdout: stream.Readable;
+        stderr: stream.Readable;
+        stdio: [stream.Writable, stream.Readable, stream.Readable];
+        pid: number;
+        kill(signal?: string): void;
+        send(message: any, sendHandle?: any): boolean;
+        connected: boolean;
+        disconnect(): void;
+        unref(): void;
+        ref(): void;
+    }
+
+    export interface SpawnOptions {
+        cwd?: string;
+        env?: any;
+        stdio?: any;
+        detached?: boolean;
+        uid?: number;
+        gid?: number;
+        shell?: boolean | string;
+    }
+    export function spawn(command: string, args?: string[], options?: SpawnOptions): ChildProcess;
+
+    export interface ExecOptions {
+        cwd?: string;
+        env?: any;
+        shell?: string;
+        timeout?: number;
+        maxBuffer?: number;
+        killSignal?: string;
+        uid?: number;
+        gid?: number;
+    }
+    export interface ExecOptionsWithStringEncoding extends ExecOptions {
+        encoding: BufferEncoding;
+    }
+    export interface ExecOptionsWithBufferEncoding extends ExecOptions {
+        encoding: string; // specify `null`.
+    }
+    export function exec(command: string, callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess;
+    export function exec(command: string, options: ExecOptionsWithStringEncoding, callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess;
+    // usage. child_process.exec("tsc", {encoding: null as string}, (err, stdout, stderr) => {});
+    export function exec(command: string, options: ExecOptionsWithBufferEncoding, callback?: (error: Error, stdout: Buffer, stderr: Buffer) => void): ChildProcess;
+    export function exec(command: string, options: ExecOptions, callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess;
+
+    export interface ExecFileOptions {
+        cwd?: string;
+        env?: any;
+        timeout?: number;
+        maxBuffer?: number;
+        killSignal?: string;
+        uid?: number;
+        gid?: number;
+    }
+    export interface ExecFileOptionsWithStringEncoding extends ExecFileOptions {
+        encoding: BufferEncoding;
+    }
+    export interface ExecFileOptionsWithBufferEncoding extends ExecFileOptions {
+        encoding: string; // specify `null`.
+    }
+    export function execFile(file: string, callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess;
+    export function execFile(file: string, options?: ExecFileOptionsWithStringEncoding, callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess;
+    // usage. child_process.execFile("file.sh", {encoding: null as string}, (err, stdout, stderr) => {});
+    export function execFile(file: string, options?: ExecFileOptionsWithBufferEncoding, callback?: (error: Error, stdout: Buffer, stderr: Buffer) => void): ChildProcess;
+    export function execFile(file: string, options?: ExecFileOptions, callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess;
+    export function execFile(file: string, args?: string[], callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess;
+    export function execFile(file: string, args?: string[], options?: ExecFileOptionsWithStringEncoding, callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess;
+    // usage. child_process.execFile("file.sh", ["foo"], {encoding: null as string}, (err, stdout, stderr) => {});
+    export function execFile(file: string, args?: string[], options?: ExecFileOptionsWithBufferEncoding, callback?: (error: Error, stdout: Buffer, stderr: Buffer) => void): ChildProcess;
+    export function execFile(file: string, args?: string[], options?: ExecFileOptions, callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess;
+
+    export interface ForkOptions {
+        cwd?: string;
+        env?: any;
+        execPath?: string;
+        execArgv?: string[];
+        silent?: boolean;
+        uid?: number;
+        gid?: number;
+    }
+    export function fork(modulePath: string, args?: string[], options?: ForkOptions): ChildProcess;
+
+    export interface SpawnSyncOptions {
+        cwd?: string;
+        input?: string | Buffer;
+        stdio?: any;
+        env?: any;
+        uid?: number;
+        gid?: number;
+        timeout?: number;
+        killSignal?: string;
+        maxBuffer?: number;
+        encoding?: string;
+        shell?: boolean | string;
+    }
+    export interface SpawnSyncOptionsWithStringEncoding extends SpawnSyncOptions {
+        encoding: BufferEncoding;
+    }
+    export interface SpawnSyncOptionsWithBufferEncoding extends SpawnSyncOptions {
+        encoding: string; // specify `null`.
+    }
+    export interface SpawnSyncReturns<T> {
+        pid: number;
+        output: string[];
+        stdout: T;
+        stderr: T;
+        status: number;
+        signal: string;
+        error: Error;
+    }
+    export function spawnSync(command: string): SpawnSyncReturns<Buffer>;
+    export function spawnSync(command: string, options?: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns<string>;
+    export function spawnSync(command: string, options?: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns<Buffer>;
+    export function spawnSync(command: string, options?: SpawnSyncOptions): SpawnSyncReturns<Buffer>;
+    export function spawnSync(command: string, args?: string[], options?: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns<string>;
+    export function spawnSync(command: string, args?: string[], options?: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns<Buffer>;
+    export function spawnSync(command: string, args?: string[], options?: SpawnSyncOptions): SpawnSyncReturns<Buffer>;
+
+    export interface ExecSyncOptions {
+        cwd?: string;
+        input?: string | Buffer;
+        stdio?: any;
+        env?: any;
+        shell?: string;
+        uid?: number;
+        gid?: number;
+        timeout?: number;
+        killSignal?: string;
+        maxBuffer?: number;
+        encoding?: string;
+    }
+    export interface ExecSyncOptionsWithStringEncoding extends ExecSyncOptions {
+        encoding: BufferEncoding;
+    }
+    export interface ExecSyncOptionsWithBufferEncoding extends ExecSyncOptions {
+        encoding: string; // specify `null`.
+    }
+    export function execSync(command: string): Buffer;
+    export function execSync(command: string, options?: ExecSyncOptionsWithStringEncoding): string;
+    export function execSync(command: string, options?: ExecSyncOptionsWithBufferEncoding): Buffer;
+    export function execSync(command: string, options?: ExecSyncOptions): Buffer;
+
+    export interface ExecFileSyncOptions {
+        cwd?: string;
+        input?: string | Buffer;
+        stdio?: any;
+        env?: any;
+        uid?: number;
+        gid?: number;
+        timeout?: number;
+        killSignal?: string;
+        maxBuffer?: number;
+        encoding?: string;
+    }
+    export interface ExecFileSyncOptionsWithStringEncoding extends ExecFileSyncOptions {
+        encoding: BufferEncoding;
+    }
+    export interface ExecFileSyncOptionsWithBufferEncoding extends ExecFileSyncOptions {
+        encoding: string; // specify `null`.
+    }
+    export function execFileSync(command: string): Buffer;
+    export function execFileSync(command: string, options?: ExecFileSyncOptionsWithStringEncoding): string;
+    export function execFileSync(command: string, options?: ExecFileSyncOptionsWithBufferEncoding): Buffer;
+    export function execFileSync(command: string, options?: ExecFileSyncOptions): Buffer;
+    export function execFileSync(command: string, args?: string[], options?: ExecFileSyncOptionsWithStringEncoding): string;
+    export function execFileSync(command: string, args?: string[], options?: ExecFileSyncOptionsWithBufferEncoding): Buffer;
+    export function execFileSync(command: string, args?: string[], options?: ExecFileSyncOptions): Buffer;
+}
+
+declare module "url" {
+    export interface Url {
+        href?: string;
+        protocol?: string;
+        auth?: string;
+        hostname?: string;
+        port?: string;
+        host?: string;
+        pathname?: string;
+        search?: string;
+        query?: string | any;
+        slashes?: boolean;
+        hash?: string;
+        path?: string;
+    }
+
+    export function parse(urlStr: string, parseQueryString?: boolean, slashesDenoteHost?: boolean): Url;
+    export function format(url: Url): string;
+    export function resolve(from: string, to: string): string;
+}
+
+declare module "dns" {
+    export interface MxRecord {
+        exchange: string,
+        priority: number
+    }
+
+    export function lookup(domain: string, family: number, callback: (err: Error, address: string, family: number) => void): string;
+    export function lookup(domain: string, callback: (err: Error, address: string, family: number) => void): string;
+    export function resolve(domain: string, rrtype: string, callback: (err: Error, addresses: string[]) => void): string[];
+    export function resolve(domain: string, callback: (err: Error, addresses: string[]) => void): string[];
+    export function resolve4(domain: string, callback: (err: Error, addresses: string[]) => void): string[];
+    export function resolve6(domain: string, callback: (err: Error, addresses: string[]) => void): string[];
+    export function resolveMx(domain: string, callback: (err: Error, addresses: MxRecord[]) => void): string[];
+    export function resolveTxt(domain: string, callback: (err: Error, addresses: string[]) => void): string[];
+    export function resolveSrv(domain: string, callback: (err: Error, addresses: string[]) => void): string[];
+    export function resolveNs(domain: string, callback: (err: Error, addresses: string[]) => void): string[];
+    export function resolveCname(domain: string, callback: (err: Error, addresses: string[]) => void): string[];
+    export function reverse(ip: string, callback: (err: Error, domains: string[]) => void): string[];
+    export function setServers(servers: string[]): void;
+
+    //Error codes
+    export var NODATA: string;
+    export var FORMERR: string;
+    export var SERVFAIL: string;
+    export var NOTFOUND: string;
+    export var NOTIMP: string;
+    export var REFUSED: string;
+    export var BADQUERY: string;
+    export var BADNAME: string;
+    export var BADFAMILY: string;
+    export var BADRESP: string;
+    export var CONNREFUSED: string;
+    export var TIMEOUT: string;
+    export var EOF: string;
+    export var FILE: string;
+    export var NOMEM: string;
+    export var DESTRUCTION: string;
+    export var BADSTR: string;
+    export var BADFLAGS: string;
+    export var NONAME: string;
+    export var BADHINTS: string;
+    export var NOTINITIALIZED: string;
+    export var LOADIPHLPAPI: string;
+    export var ADDRGETNETWORKPARAMS: string;
+    export var CANCELLED: string;
+}
+
+declare module "net" {
+    import * as stream from "stream";
+
+    export interface Socket extends stream.Duplex {
+        // Extended base methods
+        write(buffer: Buffer): boolean;
+        write(buffer: Buffer, cb?: Function): boolean;
+        write(str: string, cb?: Function): boolean;
+        write(str: string, encoding?: string, cb?: Function): boolean;
+        write(str: string, encoding?: string, fd?: string): boolean;
+
+        connect(port: number, host?: string, connectionListener?: Function): void;
+        connect(path: string, connectionListener?: Function): void;
+        bufferSize: number;
+        setEncoding(encoding?: string): void;
+        write(data: any, encoding?: string, callback?: Function): void;
+        destroy(): void;
+        pause(): Socket;
+        resume(): Socket;
+        setTimeout(timeout: number, callback?: Function): void;
+        setNoDelay(noDelay?: boolean): void;
+        setKeepAlive(enable?: boolean, initialDelay?: number): void;
+        address(): { port: number; family: string; address: string; };
+        unref(): void;
+        ref(): void;
+
+        remoteAddress: string;
+        remoteFamily: string;
+        remotePort: number;
+        localAddress: string;
+        localPort: number;
+        bytesRead: number;
+        bytesWritten: number;
+
+        // Extended base methods
+        end(): void;
+        end(buffer: Buffer, cb?: Function): void;
+        end(str: string, cb?: Function): void;
+        end(str: string, encoding?: string, cb?: Function): void;
+        end(data?: any, encoding?: string): void;
+
+        /**
+         * events.EventEmitter
+         *   1. close
+         *   2. connect
+         *   3. data
+         *   4. drain
+         *   5. end
+         *   6. error
+         *   7. lookup
+         *   8. timeout
+         */
+        addListener(event: string, listener: Function): this;
+        addListener(event: "close", listener: (had_error: boolean) => void): this;
+        addListener(event: "connect", listener: () => void): this;
+        addListener(event: "data", listener: (data: Buffer) => void): this;
+        addListener(event: "drain", listener: () => void): this;
+        addListener(event: "end", listener: () => void): this;
+        addListener(event: "error", listener: (err: Error) => void): this;
+        addListener(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this;
+        addListener(event: "timeout", listener: () => void): this;
+
+        emit(event: string, ...args: any[]): boolean;
+        emit(event: "close", had_error: boolean): boolean;
+        emit(event: "connect"): boolean;
+        emit(event: "data", data: Buffer): boolean;
+        emit(event: "drain"): boolean;
+        emit(event: "end"): boolean;
+        emit(event: "error", err: Error): boolean;
+        emit(event: "lookup", err: Error, address: string, family: string | number, host: string): boolean;
+        emit(event: "timeout"): boolean;
+
+        on(event: string, listener: Function): this;
+        on(event: "close", listener: (had_error: boolean) => void): this;
+        on(event: "connect", listener: () => void): this;
+        on(event: "data", listener: (data: Buffer) => void): this;
+        on(event: "drain", listener: () => void): this;
+        on(event: "end", listener: () => void): this;
+        on(event: "error", listener: (err: Error) => void): this;
+        on(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this;
+        on(event: "timeout", listener: () => void): this;
+
+        once(event: string, listener: Function): this;
+        once(event: "close", listener: (had_error: boolean) => void): this;
+        once(event: "connect", listener: () => void): this;
+        once(event: "data", listener: (data: Buffer) => void): this;
+        once(event: "drain", listener: () => void): this;
+        once(event: "end", listener: () => void): this;
+        once(event: "error", listener: (err: Error) => void): this;
+        once(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this;
+        once(event: "timeout", listener: () => void): this;
+
+        prependListener(event: string, listener: Function): this;
+        prependListener(event: "close", listener: (had_error: boolean) => void): this;
+        prependListener(event: "connect", listener: () => void): this;
+        prependListener(event: "data", listener: (data: Buffer) => void): this;
+        prependListener(event: "drain", listener: () => void): this;
+        prependListener(event: "end", listener: () => void): this;
+        prependListener(event: "error", listener: (err: Error) => void): this;
+        prependListener(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this;
+        prependListener(event: "timeout", listener: () => void): this;
+
+        prependOnceListener(event: string, listener: Function): this;
+        prependOnceListener(event: "close", listener: (had_error: boolean) => void): this;
+        prependOnceListener(event: "connect", listener: () => void): this;
+        prependOnceListener(event: "data", listener: (data: Buffer) => void): this;
+        prependOnceListener(event: "drain", listener: () => void): this;
+        prependOnceListener(event: "end", listener: () => void): this;
+        prependOnceListener(event: "error", listener: (err: Error) => void): this;
+        prependOnceListener(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this;
+        prependOnceListener(event: "timeout", listener: () => void): this;
+    }
+
+    export var Socket: {
+        new (options?: { fd?: string; type?: string; allowHalfOpen?: boolean; }): Socket;
+    };
+
+    export interface ListenOptions {
+        port?: number;
+        host?: string;
+        backlog?: number;
+        path?: string;
+        exclusive?: boolean;
+    }
+
+    export interface Server extends Socket {
+        listen(port: number, hostname?: string, backlog?: number, listeningListener?: Function): Server;
+        listen(port: number, hostname?: string, listeningListener?: Function): Server;
+        listen(port: number, backlog?: number, listeningListener?: Function): Server;
+        listen(port: number, listeningListener?: Function): Server;
+        listen(path: string, backlog?: number, listeningListener?: Function): Server;
+        listen(path: string, listeningListener?: Function): Server;
+        listen(handle: any, backlog?: number, listeningListener?: Function): Server;
+        listen(handle: any, listeningListener?: Function): Server;
+        listen(options: ListenOptions, listeningListener?: Function): Server;
+        close(callback?: Function): Server;
+        address(): { port: number; family: string; address: string; };
+        getConnections(cb: (error: Error, count: number) => void): void;
+        ref(): Server;
+        unref(): Server;
+        maxConnections: number;
+        connections: number;
+
+        /**
+         * events.EventEmitter
+         *   1. close
+         *   2. connection
+         *   3. error
+         *   4. listening
+         */
+        addListener(event: string, listener: Function): this;
+        addListener(event: "close", listener: () => void): this;
+        addListener(event: "connection", listener: (socket: Socket) => void): this;
+        addListener(event: "error", listener: (err: Error) => void): this;
+        addListener(event: "listening", listener: () => void): this;
+
+        emit(event: string, ...args: any[]): boolean;
+        emit(event: "close"): boolean;
+        emit(event: "connection", socket: Socket): boolean;
+        emit(event: "error", err: Error): boolean;
+        emit(event: "listening"): boolean;
+
+        on(event: string, listener: Function): this;
+        on(event: "close", listener: () => void): this;
+        on(event: "connection", listener: (socket: Socket) => void): this;
+        on(event: "error", listener: (err: Error) => void): this;
+        on(event: "listening", listener: () => void): this;
+
+        once(event: string, listener: Function): this;
+        once(event: "close", listener: () => void): this;
+        once(event: "connection", listener: (socket: Socket) => void): this;
+        once(event: "error", listener: (err: Error) => void): this;
+        once(event: "listening", listener: () => void): this;
+
+        prependListener(event: string, listener: Function): this;
+        prependListener(event: "close", listener: () => void): this;
+        prependListener(event: "connection", listener: (socket: Socket) => void): this;
+        prependListener(event: "error", listener: (err: Error) => void): this;
+        prependListener(event: "listening", listener: () => void): this;
+
+        prependOnceListener(event: string, listener: Function): this;
+        prependOnceListener(event: "close", listener: () => void): this;
+        prependOnceListener(event: "connection", listener: (socket: Socket) => void): this;
+        prependOnceListener(event: "error", listener: (err: Error) => void): this;
+        prependOnceListener(event: "listening", listener: () => void): this;
+    }
+    export function createServer(connectionListener?: (socket: Socket) => void): Server;
+    export function createServer(options?: { allowHalfOpen?: boolean; }, connectionListener?: (socket: Socket) => void): Server;
+    export function connect(options: { port: number, host?: string, localAddress?: string, localPort?: string, family?: number, allowHalfOpen?: boolean; }, connectionListener?: Function): Socket;
+    export function connect(port: number, host?: string, connectionListener?: Function): Socket;
+    export function connect(path: string, connectionListener?: Function): Socket;
+    export function createConnection(options: { port: number, host?: string, localAddress?: string, localPort?: string, family?: number, allowHalfOpen?: boolean; }, connectionListener?: Function): Socket;
+    export function createConnection(port: number, host?: string, connectionListener?: Function): Socket;
+    export function createConnection(path: string, connectionListener?: Function): Socket;
+    export function isIP(input: string): number;
+    export function isIPv4(input: string): boolean;
+    export function isIPv6(input: string): boolean;
+}
+
+declare module "dgram" {
+    import * as events from "events";
+
+    interface RemoteInfo {
+        address: string;
+        port: number;
+        size: number;
+    }
+
+    interface AddressInfo {
+        address: string;
+        family: string;
+        port: number;
+    }
+
+    interface BindOptions {
+        port: number;
+        address?: string;
+        exclusive?: boolean;
+    }
+
+    interface SocketOptions {
+        type: "udp4" | "udp6";
+        reuseAddr?: boolean;
+    }
+
+    export function createSocket(type: string, callback?: (msg: Buffer, rinfo: RemoteInfo) => void): Socket;
+    export function createSocket(options: SocketOptions, callback?: (msg: Buffer, rinfo: RemoteInfo) => void): Socket;
+
+    export interface Socket extends events.EventEmitter {
+        send(msg: Buffer | String | any[], port: number, address: string, callback?: (error: Error, bytes: number) => void): void;
+        send(msg: Buffer | String | any[], offset: number, length: number, port: number, address: string, callback?: (error: Error, bytes: number) => void): void;
+        bind(port?: number, address?: string, callback?: () => void): void;
+        bind(options: BindOptions, callback?: Function): void;
+        close(callback?: any): void;
+        address(): AddressInfo;
+        setBroadcast(flag: boolean): void;
+        setTTL(ttl: number): void;
+        setMulticastTTL(ttl: number): void;
+        setMulticastLoopback(flag: boolean): void;
+        addMembership(multicastAddress: string, multicastInterface?: string): void;
+        dropMembership(multicastAddress: string, multicastInterface?: string): void;
+        ref(): void;
+        unref(): void;
+    }
+}
+
+declare module "fs" {
+    import * as stream from "stream";
+    import * as events from "events";
+
+    interface Stats {
+        isFile(): boolean;
+        isDirectory(): boolean;
+        isBlockDevice(): boolean;
+        isCharacterDevice(): boolean;
+        isSymbolicLink(): boolean;
+        isFIFO(): boolean;
+        isSocket(): boolean;
+        dev: number;
+        ino: number;
+        mode: number;
+        nlink: number;
+        uid: number;
+        gid: number;
+        rdev: number;
+        size: number;
+        blksize: number;
+        blocks: number;
+        atime: Date;
+        mtime: Date;
+        ctime: Date;
+        birthtime: Date;
+    }
+
+    interface FSWatcher extends events.EventEmitter {
+        close(): void;
+
+        /**
+         * events.EventEmitter
+         *   1. change
+         *   2. error
+         */
+        addListener(event: string, listener: Function): this;
+        addListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this;
+        addListener(event: "error", listener: (code: number, signal: string) => void): this;
+
+        on(event: string, listener: Function): this;
+        on(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this;
+        on(event: "error", listener: (code: number, signal: string) => void): this;
+
+        once(event: string, listener: Function): this;
+        once(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this;
+        once(event: "error", listener: (code: number, signal: string) => void): this;
+
+        prependListener(event: string, listener: Function): this;
+        prependListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this;
+        prependListener(event: "error", listener: (code: number, signal: string) => void): this;
+
+        prependOnceListener(event: string, listener: Function): this;
+        prependOnceListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this;
+        prependOnceListener(event: "error", listener: (code: number, signal: string) => void): this;
+    }
+
+    export interface ReadStream extends stream.Readable {
+        close(): void;
+        destroy(): void;
+
+        /**
+         * events.EventEmitter
+         *   1. open
+         *   2. close
+         */
+        addListener(event: string, listener: Function): this;
+        addListener(event: "open", listener: (fd: number) => void): this;
+        addListener(event: "close", listener: () => void): this;
+
+        on(event: string, listener: Function): this;
+        on(event: "open", listener: (fd: number) => void): this;
+        on(event: "close", listener: () => void): this;
+
+        once(event: string, listener: Function): this;
+        once(event: "open", listener: (fd: number) => void): this;
+        once(event: "close", listener: () => void): this;
+
+        prependListener(event: string, listener: Function): this;
+        prependListener(event: "open", listener: (fd: number) => void): this;
+        prependListener(event: "close", listener: () => void): this;
+
+        prependOnceListener(event: string, listener: Function): this;
+        prependOnceListener(event: "open", listener: (fd: number) => void): this;
+        prependOnceListener(event: "close", listener: () => void): this;
+    }
+
+    export interface WriteStream extends stream.Writable {
+        close(): void;
+        bytesWritten: number;
+        path: string | Buffer;
+
+        /**
+         * events.EventEmitter
+         *   1. open
+         *   2. close
+         */
+        addListener(event: string, listener: Function): this;
+        addListener(event: "open", listener: (fd: number) => void): this;
+        addListener(event: "close", listener: () => void): this;
+
+        on(event: string, listener: Function): this;
+        on(event: "open", listener: (fd: number) => void): this;
+        on(event: "close", listener: () => void): this;
+
+        once(event: string, listener: Function): this;
+        once(event: "open", listener: (fd: number) => void): this;
+        once(event: "close", listener: () => void): this;
+
+        prependListener(event: string, listener: Function): this;
+        prependListener(event: "open", listener: (fd: number) => void): this;
+        prependListener(event: "close", listener: () => void): this;
+
+        prependOnceListener(event: string, listener: Function): this;
+        prependOnceListener(event: "open", listener: (fd: number) => void): this;
+        prependOnceListener(event: "close", listener: () => void): this;
+    }
+
+    /**
+     * Asynchronous rename.
+     * @param oldPath
+     * @param newPath
+     * @param callback No arguments other than a possible exception are given to the completion callback.
+     */
+    export function rename(oldPath: string, newPath: string, callback?: (err?: NodeJS.ErrnoException) => void): void;
+    /**
+     * Synchronous rename
+     * @param oldPath
+     * @param newPath
+     */
+    export function renameSync(oldPath: string, newPath: string): void;
+    export function truncate(path: string | Buffer, callback?: (err?: NodeJS.ErrnoException) => void): void;
+    export function truncate(path: string | Buffer, len: number, callback?: (err?: NodeJS.ErrnoException) => void): void;
+    export function truncateSync(path: string | Buffer, len?: number): void;
+    export function ftruncate(fd: number, callback?: (err?: NodeJS.ErrnoException) => void): void;
+    export function ftruncate(fd: number, len: number, callback?: (err?: NodeJS.ErrnoException) => void): void;
+    export function ftruncateSync(fd: number, len?: number): void;
+    export function chown(path: string | Buffer, uid: number, gid: number, callback?: (err?: NodeJS.ErrnoException) => void): void;
+    export function chownSync(path: string | Buffer, uid: number, gid: number): void;
+    export function fchown(fd: number, uid: number, gid: number, callback?: (err?: NodeJS.ErrnoException) => void): void;
+    export function fchownSync(fd: number, uid: number, gid: number): void;
+    export function lchown(path: string | Buffer, uid: number, gid: number, callback?: (err?: NodeJS.ErrnoException) => void): void;
+    export function lchownSync(path: string | Buffer, uid: number, gid: number): void;
+    export function chmod(path: string | Buffer, mode: number, callback?: (err?: NodeJS.ErrnoException) => void): void;
+    export function chmod(path: string | Buffer, mode: string, callback?: (err?: NodeJS.ErrnoException) => void): void;
+    export function chmodSync(path: string | Buffer, mode: number): void;
+    export function chmodSync(path: string | Buffer, mode: string): void;
+    export function fchmod(fd: number, mode: number, callback?: (err?: NodeJS.ErrnoException) => void): void;
+    export function fchmod(fd: number, mode: string, callback?: (err?: NodeJS.ErrnoException) => void): void;
+    export function fchmodSync(fd: number, mode: number): void;
+    export function fchmodSync(fd: number, mode: string): void;
+    export function lchmod(path: string | Buffer, mode: number, callback?: (err?: NodeJS.ErrnoException) => void): void;
+    export function lchmod(path: string | Buffer, mode: string, callback?: (err?: NodeJS.ErrnoException) => void): void;
+    export function lchmodSync(path: string | Buffer, mode: number): void;
+    export function lchmodSync(path: string | Buffer, mode: string): void;
+    export function stat(path: string | Buffer, callback?: (err: NodeJS.ErrnoException, stats: Stats) => any): void;
+    export function lstat(path: string | Buffer, callback?: (err: NodeJS.ErrnoException, stats: Stats) => any): void;
+    export function fstat(fd: number, callback?: (err: NodeJS.ErrnoException, stats: Stats) => any): void;
+    export function statSync(path: string | Buffer): Stats;
+    export function lstatSync(path: string | Buffer): Stats;
+    export function fstatSync(fd: number): Stats;
+    export function link(srcpath: string | Buffer, dstpath: string | Buffer, callback?: (err?: NodeJS.ErrnoException) => void): void;
+    export function linkSync(srcpath: string | Buffer, dstpath: string | Buffer): void;
+    export function symlink(srcpath: string | Buffer, dstpath: string | Buffer, type?: string, callback?: (err?: NodeJS.ErrnoException) => void): void;
+    export function symlinkSync(srcpath: string | Buffer, dstpath: string | Buffer, type?: string): void;
+    export function readlink(path: string | Buffer, callback?: (err: NodeJS.ErrnoException, linkString: string) => any): void;
+    export function readlinkSync(path: string | Buffer): string;
+    export function realpath(path: string | Buffer, callback?: (err: NodeJS.ErrnoException, resolvedPath: string) => any): void;
+    export function realpath(path: string | Buffer, cache: { [path: string]: string }, callback: (err: NodeJS.ErrnoException, resolvedPath: string) => any): void;
+    export function realpathSync(path: string | Buffer, cache?: { [path: string]: string }): string;
+    /*
+     * Asynchronous unlink - deletes the file specified in {path}
+     *
+     * @param path
+     * @param callback No arguments other than a possible exception are given to the completion callback.
+     */
+    export function unlink(path: string | Buffer, callback?: (err?: NodeJS.ErrnoException) => void): void;
+    /*
+     * Synchronous unlink - deletes the file specified in {path}
+     *
+     * @param path
+     */
+    export function unlinkSync(path: string | Buffer): void;
+    /*
+     * Asynchronous rmdir - removes the directory specified in {path}
+     *
+     * @param path
+     * @param callback No arguments other than a possible exception are given to the completion callback.
+     */
+    export function rmdir(path: string | Buffer, callback?: (err?: NodeJS.ErrnoException) => void): void;
+    /*
+     * Synchronous rmdir - removes the directory specified in {path}
+     *
+     * @param path
+     */
+    export function rmdirSync(path: string | Buffer): void;
+    /*
+     * Asynchronous mkdir - creates the directory specified in {path}.  Parameter {mode} defaults to 0777.
+     *
+     * @param path
+     * @param callback No arguments other than a possible exception are given to the completion callback.
+     */
+    export function mkdir(path: string | Buffer, callback?: (err?: NodeJS.ErrnoException) => void): void;
+    /*
+     * Asynchronous mkdir - creates the directory specified in {path}.  Parameter {mode} defaults to 0777.
+     *
+     * @param path
+     * @param mode
+     * @param callback No arguments other than a possible exception are given to the completion callback.
+     */
+    export function mkdir(path: string | Buffer, mode: number, callback?: (err?: NodeJS.ErrnoException) => void): void;
+    /*
+     * Asynchronous mkdir - creates the directory specified in {path}.  Parameter {mode} defaults to 0777.
+     *
+     * @param path
+     * @param mode
+     * @param callback No arguments other than a possible exception are given to the completion callback.
+     */
+    export function mkdir(path: string | Buffer, mode: string, callback?: (err?: NodeJS.ErrnoException) => void): void;
+    /*
+     * Synchronous mkdir - creates the directory specified in {path}.  Parameter {mode} defaults to 0777.
+     *
+     * @param path
+     * @param mode
+     * @param callback No arguments other than a possible exception are given to the completion callback.
+     */
+    export function mkdirSync(path: string | Buffer, mode?: number): void;
+    /*
+     * Synchronous mkdir - creates the directory specified in {path}.  Parameter {mode} defaults to 0777.
+     *
+     * @param path
+     * @param mode
+     * @param callback No arguments other than a possible exception are given to the completion callback.
+     */
+    export function mkdirSync(path: string | Buffer, mode?: string): void;
+    /*
+     * Asynchronous mkdtemp - Creates a unique temporary directory. Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
+     *
+     * @param prefix
+     * @param callback The created folder path is passed as a string to the callback's second parameter.
+     */
+    export function mkdtemp(prefix: string, callback?: (err: NodeJS.ErrnoException, folder: string) => void): void;
+    /*
+     * Synchronous mkdtemp - Creates a unique temporary directory. Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
+     *
+     * @param prefix
+     * @returns Returns the created folder path.
+     */
+    export function mkdtempSync(prefix: string): string;
+    export function readdir(path: string | Buffer, callback?: (err: NodeJS.ErrnoException, files: string[]) => void): void;
+    export function readdirSync(path: string | Buffer): string[];
+    export function close(fd: number, callback?: (err?: NodeJS.ErrnoException) => void): void;
+    export function closeSync(fd: number): void;
+    export function open(path: string | Buffer, flags: string | number, callback: (err: NodeJS.ErrnoException, fd: number) => void): void;
+    export function open(path: string | Buffer, flags: string | number, mode: number, callback: (err: NodeJS.ErrnoException, fd: number) => void): void;
+    export function openSync(path: string | Buffer, flags: string | number, mode?: number): number;
+    export function utimes(path: string | Buffer, atime: number, mtime: number, callback?: (err?: NodeJS.ErrnoException) => void): void;
+    export function utimes(path: string | Buffer, atime: Date, mtime: Date, callback?: (err?: NodeJS.ErrnoException) => void): void;
+    export function utimesSync(path: string | Buffer, atime: number, mtime: number): void;
+    export function utimesSync(path: string | Buffer, atime: Date, mtime: Date): void;
+    export function futimes(fd: number, atime: number, mtime: number, callback?: (err?: NodeJS.ErrnoException) => void): void;
+    export function futimes(fd: number, atime: Date, mtime: Date, callback?: (err?: NodeJS.ErrnoException) => void): void;
+    export function futimesSync(fd: number, atime: number, mtime: number): void;
+    export function futimesSync(fd: number, atime: Date, mtime: Date): void;
+    export function fsync(fd: number, callback?: (err?: NodeJS.ErrnoException) => void): void;
+    export function fsyncSync(fd: number): void;
+    export function write(fd: number, buffer: Buffer, offset: number, length: number, position: number, callback?: (err: NodeJS.ErrnoException, written: number, buffer: Buffer) => void): void;
+    export function write(fd: number, buffer: Buffer, offset: number, length: number, callback?: (err: NodeJS.ErrnoException, written: number, buffer: Buffer) => void): void;
+    export function write(fd: number, data: any, callback?: (err: NodeJS.ErrnoException, written: number, str: string) => void): void;
+    export function write(fd: number, data: any, offset: number, callback?: (err: NodeJS.ErrnoException, written: number, str: string) => void): void;
+    export function write(fd: number, data: any, offset: number, encoding: string, callback?: (err: NodeJS.ErrnoException, written: number, str: string) => void): void;
+    export function writeSync(fd: number, buffer: Buffer, offset: number, length: number, position?: number): number;
+    export function writeSync(fd: number, data: any, position?: number, enconding?: string): number;
+    export function read(fd: number, buffer: Buffer, offset: number, length: number, position: number, callback?: (err: NodeJS.ErrnoException, bytesRead: number, buffer: Buffer) => void): void;
+    export function readSync(fd: number, buffer: Buffer, offset: number, length: number, position: number): number;
+    /*
+     * Asynchronous readFile - Asynchronously reads the entire contents of a file.
+     *
+     * @param fileName
+     * @param encoding
+     * @param callback - The callback is passed two arguments (err, data), where data is the contents of the file.
+     */
+    export function readFile(filename: string, encoding: string, callback: (err: NodeJS.ErrnoException, data: string) => void): void;
+    /*
+     * Asynchronous readFile - Asynchronously reads the entire contents of a file.
+     *
+     * @param fileName
+     * @param options An object with optional {encoding} and {flag} properties.  If {encoding} is specified, readFile returns a string; otherwise it returns a Buffer.
+     * @param callback - The callback is passed two arguments (err, data), where data is the contents of the file.
+     */
+    export function readFile(filename: string, options: { encoding: string; flag?: string; }, callback: (err: NodeJS.ErrnoException, data: string) => void): void;
+    /*
+     * Asynchronous readFile - Asynchronously reads the entire contents of a file.
+     *
+     * @param fileName
+     * @param options An object with optional {encoding} and {flag} properties.  If {encoding} is specified, readFile returns a string; otherwise it returns a Buffer.
+     * @param callback - The callback is passed two arguments (err, data), where data is the contents of the file.
+     */
+    export function readFile(filename: string, options: { flag?: string; }, callback: (err: NodeJS.ErrnoException, data: Buffer) => void): void;
+    /*
+     * Asynchronous readFile - Asynchronously reads the entire contents of a file.
+     *
+     * @param fileName
+     * @param callback - The callback is passed two arguments (err, data), where data is the contents of the file.
+     */
+    export function readFile(filename: string, callback: (err: NodeJS.ErrnoException, data: Buffer) => void): void;
+    /*
+     * Synchronous readFile - Synchronously reads the entire contents of a file.
+     *
+     * @param fileName
+     * @param encoding
+     */
+    export function readFileSync(filename: string, encoding: string): string;
+    /*
+     * Synchronous readFile - Synchronously reads the entire contents of a file.
+     *
+     * @param fileName
+     * @param options An object with optional {encoding} and {flag} properties.  If {encoding} is specified, readFileSync returns a string; otherwise it returns a Buffer.
+     */
+    export function readFileSync(filename: string, options: { encoding: string; flag?: string; }): string;
+    /*
+     * Synchronous readFile - Synchronously reads the entire contents of a file.
+     *
+     * @param fileName
+     * @param options An object with optional {encoding} and {flag} properties.  If {encoding} is specified, readFileSync returns a string; otherwise it returns a Buffer.
+     */
+    export function readFileSync(filename: string, options?: { flag?: string; }): Buffer;
+    export function writeFile(filename: string, data: any, callback?: (err: NodeJS.ErrnoException) => void): void;
+    export function writeFile(filename: string, data: any, options: { encoding?: string; mode?: number; flag?: string; }, callback?: (err: NodeJS.ErrnoException) => void): void;
+    export function writeFile(filename: string, data: any, options: { encoding?: string; mode?: string; flag?: string; }, callback?: (err: NodeJS.ErrnoException) => void): void;
+    export function writeFileSync(filename: string, data: any, options?: { encoding?: string; mode?: number; flag?: string; }): void;
+    export function writeFileSync(filename: string, data: any, options?: { encoding?: string; mode?: string; flag?: string; }): void;
+    export function appendFile(filename: string, data: any, options: { encoding?: string; mode?: number; flag?: string; }, callback?: (err: NodeJS.ErrnoException) => void): void;
+    export function appendFile(filename: string, data: any, options: { encoding?: string; mode?: string; flag?: string; }, callback?: (err: NodeJS.ErrnoException) => void): void;
+    export function appendFile(filename: string, data: any, callback?: (err: NodeJS.ErrnoException) => void): void;
+    export function appendFileSync(filename: string, data: any, options?: { encoding?: string; mode?: number; flag?: string; }): void;
+    export function appendFileSync(filename: string, data: any, options?: { encoding?: string; mode?: string; flag?: string; }): void;
+    export function watchFile(filename: string, listener: (curr: Stats, prev: Stats) => void): void;
+    export function watchFile(filename: string, options: { persistent?: boolean; interval?: number; }, listener: (curr: Stats, prev: Stats) => void): void;
+    export function unwatchFile(filename: string, listener?: (curr: Stats, prev: Stats) => void): void;
+    export function watch(filename: string, listener?: (event: string, filename: string) => any): FSWatcher;
+    export function watch(filename: string, encoding: string, listener?: (event: string, filename: string | Buffer) => any): FSWatcher;
+    export function watch(filename: string, options: { persistent?: boolean; recursive?: boolean; encoding?: string }, listener?: (event: string, filename: string | Buffer) => any): FSWatcher;
+    export function exists(path: string | Buffer, callback?: (exists: boolean) => void): void;
+    export function existsSync(path: string | Buffer): boolean;
+
+    interface Constants {
+        /** Constant for fs.access(). File is visible to the calling process. */
+        F_OK: number;
+
+        /** Constant for fs.access(). File can be read by the calling process. */
+        R_OK: number;
+
+        /** Constant for fs.access(). File can be written by the calling process. */
+        W_OK: number;
+
+        /** Constant for fs.access(). File can be executed by the calling process. */
+        X_OK: number;
+    }
+
+    export const constants: Constants;
+
+    /** Tests a user's permissions for the file specified by path. */
+    export function access(path: string | Buffer, callback: (err: NodeJS.ErrnoException) => void): void;
+    export function access(path: string | Buffer, mode: number, callback: (err: NodeJS.ErrnoException) => void): void;
+    /** Synchronous version of fs.access. This throws if any accessibility checks fail, and does nothing otherwise. */
+    export function accessSync(path: string | Buffer, mode?: number): void;
+    export function createReadStream(path: string | Buffer, options?: {
+        flags?: string;
+        encoding?: string;
+        fd?: number;
+        mode?: number;
+        autoClose?: boolean;
+        start?: number;
+        end?: number;
+    }): ReadStream;
+    export function createWriteStream(path: string | Buffer, options?: {
+        flags?: string;
+        encoding?: string;
+        fd?: number;
+        mode?: number;
+    }): WriteStream;
+    export function fdatasync(fd: number, callback: Function): void;
+    export function fdatasyncSync(fd: number): void;
+}
+
+declare module "path" {
+
+    /**
+     * A parsed path object generated by path.parse() or consumed by path.format().
+     */
+    export interface ParsedPath {
+        /**
+         * The root of the path such as '/' or 'c:\'
+         */
+        root: string;
+        /**
+         * The full directory path such as '/home/user/dir' or 'c:\path\dir'
+         */
+        dir: string;
+        /**
+         * The file name including extension (if any) such as 'index.html'
+         */
+        base: string;
+        /**
+         * The file extension (if any) such as '.html'
+         */
+        ext: string;
+        /**
+         * The file name without extension (if any) such as 'index'
+         */
+        name: string;
+    }
+
+    /**
+     * Normalize a string path, reducing '..' and '.' parts.
+     * When multiple slashes are found, they're replaced by a single one; when the path contains a trailing slash, it is preserved. On Windows backslashes are used.
+     *
+     * @param p string path to normalize.
+     */
+    export function normalize(p: string): string;
+    /**
+     * Join all arguments together and normalize the resulting path.
+     * Arguments must be strings. In v0.8, non-string arguments were silently ignored. In v0.10 and up, an exception is thrown.
+     *
+     * @param paths string paths to join.
+     */
+    export function join(...paths: any[]): string;
+    /**
+     * Join all arguments together and normalize the resulting path.
+     * Arguments must be strings. In v0.8, non-string arguments were silently ignored. In v0.10 and up, an exception is thrown.
+     *
+     * @param paths string paths to join.
+     */
+    export function join(...paths: string[]): string;
+    /**
+     * The right-most parameter is considered {to}.  Other parameters are considered an array of {from}.
+     *
+     * Starting from leftmost {from} paramter, resolves {to} to an absolute path.
+     *
+     * If {to} isn't already absolute, {from} arguments are prepended in right to left order, until an absolute path is found. If after using all {from} paths still no absolute path is found, the current working directory is used as well. The resulting path is normalized, and trailing slashes are removed unless the path gets resolved to the root directory.
+     *
+     * @param pathSegments string paths to join.  Non-string arguments are ignored.
+     */
+    export function resolve(...pathSegments: any[]): string;
+    /**
+     * Determines whether {path} is an absolute path. An absolute path will always resolve to the same location, regardless of the working directory.
+     *
+     * @param path path to test.
+     */
+    export function isAbsolute(path: string): boolean;
+    /**
+     * Solve the relative path from {from} to {to}.
+     * At times we have two absolute paths, and we need to derive the relative path from one to the other. This is actually the reverse transform of path.resolve.
+     *
+     * @param from
+     * @param to
+     */
+    export function relative(from: string, to: string): string;
+    /**
+     * Return the directory name of a path. Similar to the Unix dirname command.
+     *
+     * @param p the path to evaluate.
+     */
+    export function dirname(p: string): string;
+    /**
+     * Return the last portion of a path. Similar to the Unix basename command.
+     * Often used to extract the file name from a fully qualified path.
+     *
+     * @param p the path to evaluate.
+     * @param ext optionally, an extension to remove from the result.
+     */
+    export function basename(p: string, ext?: string): string;
+    /**
+     * Return the extension of the path, from the last '.' to end of string in the last portion of the path.
+     * If there is no '.' in the last portion of the path or the first character of it is '.', then it returns an empty string
+     *
+     * @param p the path to evaluate.
+     */
+    export function extname(p: string): string;
+    /**
+     * The platform-specific file separator. '\\' or '/'.
+     */
+    export var sep: string;
+    /**
+     * The platform-specific file delimiter. ';' or ':'.
+     */
+    export var delimiter: string;
+    /**
+     * Returns an object from a path string - the opposite of format().
+     *
+     * @param pathString path to evaluate.
+     */
+    export function parse(pathString: string): ParsedPath;
+    /**
+     * Returns a path string from an object - the opposite of parse().
+     *
+     * @param pathString path to evaluate.
+     */
+    export function format(pathObject: ParsedPath): string;
+
+    export module posix {
+        export function normalize(p: string): string;
+        export function join(...paths: any[]): string;
+        export function resolve(...pathSegments: any[]): string;
+        export function isAbsolute(p: string): boolean;
+        export function relative(from: string, to: string): string;
+        export function dirname(p: string): string;
+        export function basename(p: string, ext?: string): string;
+        export function extname(p: string): string;
+        export var sep: string;
+        export var delimiter: string;
+        export function parse(p: string): ParsedPath;
+        export function format(pP: ParsedPath): string;
+    }
+
+    export module win32 {
+        export function normalize(p: string): string;
+        export function join(...paths: any[]): string;
+        export function resolve(...pathSegments: any[]): string;
+        export function isAbsolute(p: string): boolean;
+        export function relative(from: string, to: string): string;
+        export function dirname(p: string): string;
+        export function basename(p: string, ext?: string): string;
+        export function extname(p: string): string;
+        export var sep: string;
+        export var delimiter: string;
+        export function parse(p: string): ParsedPath;
+        export function format(pP: ParsedPath): string;
+    }
+}
+
+declare module "string_decoder" {
+    export interface NodeStringDecoder {
+        write(buffer: Buffer): string;
+        end(buffer?: Buffer): string;
+    }
+    export var StringDecoder: {
+        new (encoding?: string): NodeStringDecoder;
+    };
+}
+
+declare module "tls" {
+    import * as crypto from "crypto";
+    import * as net from "net";
+    import * as stream from "stream";
+
+    var CLIENT_RENEG_LIMIT: number;
+    var CLIENT_RENEG_WINDOW: number;
+
+    export interface Certificate {
+        /**
+         * Country code.
+         */
+        C: string;
+        /**
+         * Street.
+         */
+        ST: string;
+        /**
+         * Locality.
+         */
+        L: string;
+        /**
+         * Organization.
+         */
+        O: string;
+        /**
+         * Organizational unit.
+         */
+        OU: string;
+        /**
+         * Common name.
+         */
+        CN: string;
+    }
+
+    export interface CipherNameAndProtocol {
+        /**
+         * The cipher name.
+         */
+        name: string;
+        /**
+         * SSL/TLS protocol version.
+         */
+        version: string;
+    }
+
+    export class TLSSocket extends stream.Duplex {
+        /**
+         * Returns the bound address, the address family name and port of the underlying socket as reported by
+         * the operating system.
+         * @returns {any} - An object with three properties, e.g. { port: 12346, family: 'IPv4', address: '127.0.0.1' }.
+         */
+        address(): { port: number; family: string; address: string };
+        /**
+         * A boolean that is true if the peer certificate was signed by one of the specified CAs, otherwise false.
+         */
+        authorized: boolean;
+        /**
+         * The reason why the peer's certificate has not been verified.
+         * This property becomes available only when tlsSocket.authorized === false.
+         */
+        authorizationError: Error;
+        /**
+         * Static boolean value, always true.
+         * May be used to distinguish TLS sockets from regular ones.
+         */
+        encrypted: boolean;
+        /**
+         * Returns an object representing the cipher name and the SSL/TLS protocol version of the current connection.
+         * @returns {CipherNameAndProtocol} - Returns an object representing the cipher name
+         * and the SSL/TLS protocol version of the current connection.
+         */
+        getCipher(): CipherNameAndProtocol;
+        /**
+         * Returns an object representing the peer's certificate.
+         * The returned object has some properties corresponding to the field of the certificate.
+         * If detailed argument is true the full chain with issuer property will be returned,
+         * if false only the top certificate without issuer property.
+         * If the peer does not provide a certificate, it returns null or an empty object.
+         * @param {boolean} detailed - If true; the full chain with issuer property will be returned.
+         * @returns {any} - An object representing the peer's certificate.
+         */
+        getPeerCertificate(detailed?: boolean): {
+            subject: Certificate;
+            issuerInfo: Certificate;
+            issuer: Certificate;
+            raw: any;
+            valid_from: string;
+            valid_to: string;
+            fingerprint: string;
+            serialNumber: string;
+        };
+        /**
+         * Could be used to speed up handshake establishment when reconnecting to the server.
+         * @returns {any} - ASN.1 encoded TLS session or undefined if none was negotiated.
+         */
+        getSession(): any;
+        /**
+         * NOTE: Works only with client TLS sockets.
+         * Useful only for debugging, for session reuse provide session option to tls.connect().
+         * @returns {any} - TLS session ticket or undefined if none was negotiated.
+         */
+        getTLSTicket(): any;
+        /**
+         * The string representation of the local IP address.
+         */
+        localAddress: string;
+        /**
+         * The numeric representation of the local port.
+         */
+        localPort: string;
+        /**
+         * The string representation of the remote IP address.
+         * For example, '74.125.127.100' or '2001:4860:a005::68'.
+         */
+        remoteAddress: string;
+        /**
+         * The string representation of the remote IP family. 'IPv4' or 'IPv6'.
+         */
+        remoteFamily: string;
+        /**
+         * The numeric representation of the remote port. For example, 443.
+         */
+        remotePort: number;
+        /**
+         * Initiate TLS renegotiation process.
+         *
+         * NOTE: Can be used to request peer's certificate after the secure connection has been established.
+         * ANOTHER NOTE: When running as the server, socket will be destroyed with an error after handshakeTimeout timeout.
+         * @param {TlsOptions} options - The options may contain the following fields: rejectUnauthorized,
+         * requestCert (See tls.createServer() for details).
+         * @param {Function} callback - callback(err) will be executed with null as err, once the renegotiation
+         * is successfully completed.
+         */
+        renegotiate(options: TlsOptions, callback: (err: Error) => any): any;
+        /**
+         * Set maximum TLS fragment size (default and maximum value is: 16384, minimum is: 512).
+         * Smaller fragment size decreases buffering latency on the client: large fragments are buffered by
+         * the TLS layer until the entire fragment is received and its integrity is verified;
+         * large fragments can span multiple roundtrips, and their processing can be delayed due to packet
+         * loss or reordering. However, smaller fragments add extra TLS framing bytes and CPU overhead,
+         * which may decrease overall server throughput.
+         * @param {number} size - TLS fragment size (default and maximum value is: 16384, minimum is: 512).
+         * @returns {boolean} - Returns true on success, false otherwise.
+         */
+        setMaxSendFragment(size: number): boolean;
+    }
+
+    export interface TlsOptions {
+        host?: string;
+        port?: number;
+        pfx?: string | Buffer[];
+        key?: string | string[] | Buffer | any[];
+        passphrase?: string;
+        cert?: string | string[] | Buffer | Buffer[];
+        ca?: string | string[] | Buffer | Buffer[];
+        crl?: string | string[];
+        ciphers?: string;
+        honorCipherOrder?: boolean;
+        requestCert?: boolean;
+        rejectUnauthorized?: boolean;
+        NPNProtocols?: string[] | Buffer;
+        SNICallback?: (servername: string, cb: (err: Error, ctx: SecureContext) => any) => any;
+        ecdhCurve?: string;
+        dhparam?: string | Buffer;
+        handshakeTimeout?: number;
+        ALPNProtocols?: string[] | Buffer;
+        sessionTimeout?: number;
+        ticketKeys?: any;
+        sessionIdContext?: string;
+        secureProtocol?: string;
+    }
+
+    export interface ConnectionOptions {
+        host?: string;
+        port?: number;
+        socket?: net.Socket;
+        pfx?: string | Buffer
+        key?: string | string[] | Buffer | Buffer[];
+        passphrase?: string;
+        cert?: string | string[] | Buffer | Buffer[];
+        ca?: string | Buffer | (string | Buffer)[];
+        rejectUnauthorized?: boolean;
+        NPNProtocols?: (string | Buffer)[];
+        servername?: string;
+        path?: string;
+        ALPNProtocols?: (string | Buffer)[];
+        checkServerIdentity?: (servername: string, cert: string | Buffer | (string | Buffer)[]) => any;
+        secureProtocol?: string;
+        secureContext?: Object;
+        session?: Buffer;
+        minDHSize?: number;
+    }
+
+    export interface Server extends net.Server {
+        close(): Server;
+        address(): { port: number; family: string; address: string; };
+        addContext(hostName: string, credentials: {
+            key: string;
+            cert: string;
+            ca: string;
+        }): void;
+        maxConnections: number;
+        connections: number;
+    }
+
+    export interface ClearTextStream extends stream.Duplex {
+        authorized: boolean;
+        authorizationError: Error;
+        getPeerCertificate(): any;
+        getCipher: {
+            name: string;
+            version: string;
+        };
+        address: {
+            port: number;
+            family: string;
+            address: string;
+        };
+        remoteAddress: string;
+        remotePort: number;
+    }
+
+    export interface SecurePair {
+        encrypted: any;
+        cleartext: any;
+    }
+
+    export interface SecureContextOptions {
+        pfx?: string | Buffer;
+        key?: string | Buffer;
+        passphrase?: string;
+        cert?: string | Buffer;
+        ca?: string | Buffer;
+        crl?: string | string[]
+        ciphers?: string;
+        honorCipherOrder?: boolean;
+    }
+
+    export interface SecureContext {
+        context: any;
+    }
+
+    export function createServer(options: TlsOptions, secureConnectionListener?: (cleartextStream: ClearTextStream) => void): Server;
+    export function connect(options: ConnectionOptions, secureConnectionListener?: () => void): ClearTextStream;
+    export function connect(port: number, host?: string, options?: ConnectionOptions, secureConnectListener?: () => void): ClearTextStream;
+    export function connect(port: number, options?: ConnectionOptions, secureConnectListener?: () => void): ClearTextStream;
+    export function createSecurePair(credentials?: crypto.Credentials, isServer?: boolean, requestCert?: boolean, rejectUnauthorized?: boolean): SecurePair;
+    export function createSecureContext(details: SecureContextOptions): SecureContext;
+}
+
+declare module "crypto" {
+    export interface Certificate {
+        exportChallenge(spkac: string | Buffer): Buffer;
+        exportPublicKey(spkac: string | Buffer): Buffer;
+        verifySpkac(spkac: Buffer): boolean;
+    }
+    export var Certificate: {
+        new (): Certificate;
+        (): Certificate;
+    }
+
+    export var fips: boolean;
+
+    export interface CredentialDetails {
+        pfx: string;
+        key: string;
+        passphrase: string;
+        cert: string;
+        ca: string | string[];
+        crl: string | string[];
+        ciphers: string;
+    }
+    export interface Credentials { context?: any; }
+    export function createCredentials(details: CredentialDetails): Credentials;
+    export function createHash(algorithm: string): Hash;
+    export function createHmac(algorithm: string, key: string | Buffer): Hmac;
+
+    type Utf8AsciiLatin1Encoding = "utf8" | "ascii" | "latin1";
+    type HexBase64Latin1Encoding = "latin1" | "hex" | "base64";
+    type Utf8AsciiBinaryEncoding = "utf8" | "ascii" | "binary";
+    type HexBase64BinaryEncoding = "binary" | "base64" | "hex";
+    type ECDHKeyFormat = "compressed" | "uncompressed" | "hybrid";
+
+    export interface Hash extends NodeJS.ReadWriteStream {
+        update(data: string | Buffer): Hash;
+        update(data: string | Buffer, input_encoding: Utf8AsciiLatin1Encoding): Hash;
+        digest(): Buffer;
+        digest(encoding: HexBase64Latin1Encoding): string;
+    }
+    export interface Hmac extends NodeJS.ReadWriteStream {
+        update(data: string | Buffer): Hmac;
+        update(data: string | Buffer, input_encoding: Utf8AsciiLatin1Encoding): Hmac;
+        digest(): Buffer;
+        digest(encoding: HexBase64Latin1Encoding): string;
+    }
+    export function createCipher(algorithm: string, password: any): Cipher;
+    export function createCipheriv(algorithm: string, key: any, iv: any): Cipher;
+    export interface Cipher extends NodeJS.ReadWriteStream {
+        update(data: Buffer): Buffer;
+        update(data: string, input_encoding: Utf8AsciiBinaryEncoding): Buffer;
+        update(data: Buffer, input_encoding: any, output_encoding: HexBase64BinaryEncoding): string;
+        update(data: string, input_encoding: Utf8AsciiBinaryEncoding, output_encoding: HexBase64BinaryEncoding): string;
+        final(): Buffer;
+        final(output_encoding: string): string;
+        setAutoPadding(auto_padding?: boolean): void;
+        getAuthTag(): Buffer;
+        setAAD(buffer: Buffer): void;
+    }
+    export function createDecipher(algorithm: string, password: any): Decipher;
+    export function createDecipheriv(algorithm: string, key: any, iv: any): Decipher;
+    export interface Decipher extends NodeJS.ReadWriteStream {
+        update(data: Buffer): Buffer;
+        update(data: string, input_encoding: HexBase64BinaryEncoding): Buffer;
+        update(data: Buffer, input_encoding: any, output_encoding: Utf8AsciiBinaryEncoding): string;
+        update(data: string, input_encoding: HexBase64BinaryEncoding, output_encoding: Utf8AsciiBinaryEncoding): string;
+        final(): Buffer;
+        final(output_encoding: string): string;
+        setAutoPadding(auto_padding?: boolean): void;
+        setAuthTag(tag: Buffer): void;
+        setAAD(buffer: Buffer): void;
+    }
+    export function createSign(algorithm: string): Signer;
+    export interface Signer extends NodeJS.WritableStream {
+        update(data: string | Buffer): Signer;
+        update(data: string | Buffer, input_encoding: Utf8AsciiLatin1Encoding): Signer;
+        sign(private_key: string | { key: string; passphrase: string }): Buffer;
+        sign(private_key: string | { key: string; passphrase: string }, output_format: HexBase64Latin1Encoding): string;
+    }
+    export function createVerify(algorith: string): Verify;
+    export interface Verify extends NodeJS.WritableStream {
+        update(data: string | Buffer): Verify;
+        update(data: string | Buffer, input_encoding: Utf8AsciiLatin1Encoding): Verify;
+        verify(object: string, signature: Buffer): boolean;
+        verify(object: string, signature: string, signature_format: HexBase64Latin1Encoding): boolean;
+    }
+    export function createDiffieHellman(prime_length: number, generator?: number): DiffieHellman;
+    export function createDiffieHellman(prime: Buffer): DiffieHellman;
+    export function createDiffieHellman(prime: string, prime_encoding: HexBase64Latin1Encoding): DiffieHellman;
+    export function createDiffieHellman(prime: string, prime_encoding: HexBase64Latin1Encoding, generator: number | Buffer): DiffieHellman;
+    export function createDiffieHellman(prime: string, prime_encoding: HexBase64Latin1Encoding, generator: string, generator_encoding: HexBase64Latin1Encoding): DiffieHellman;
+    export interface DiffieHellman {
+        generateKeys(): Buffer;
+        generateKeys(encoding: HexBase64Latin1Encoding): string;
+        computeSecret(other_public_key: Buffer): Buffer;
+        computeSecret(other_public_key: string, input_encoding: HexBase64Latin1Encoding): Buffer;
+        computeSecret(other_public_key: string, input_encoding: HexBase64Latin1Encoding, output_encoding: HexBase64Latin1Encoding): string;
+        getPrime(): Buffer;
+        getPrime(encoding: HexBase64Latin1Encoding): string;
+        getGenerator(): Buffer;
+        getGenerator(encoding: HexBase64Latin1Encoding): string;
+        getPublicKey(): Buffer;
+        getPublicKey(encoding: HexBase64Latin1Encoding): string;
+        getPrivateKey(): Buffer;
+        getPrivateKey(encoding: HexBase64Latin1Encoding): string;
+        setPublicKey(public_key: Buffer): void;
+        setPublicKey(public_key: string, encoding: string): void;
+        setPrivateKey(private_key: Buffer): void;
+        setPrivateKey(private_key: string, encoding: string): void;
+        verifyError: number;
+    }
+    export function getDiffieHellman(group_name: string): DiffieHellman;
+    export function pbkdf2(password: string | Buffer, salt: string | Buffer, iterations: number, keylen: number, digest: string, callback: (err: Error, derivedKey: Buffer) => any): void;
+    export function pbkdf2Sync(password: string | Buffer, salt: string | Buffer, iterations: number, keylen: number, digest: string): Buffer;
+    export function randomBytes(size: number): Buffer;
+    export function randomBytes(size: number, callback: (err: Error, buf: Buffer) => void): void;
+    export function pseudoRandomBytes(size: number): Buffer;
+    export function pseudoRandomBytes(size: number, callback: (err: Error, buf: Buffer) => void): void;
+    export interface RsaPublicKey {
+        key: string;
+        padding?: number;
+    }
+    export interface RsaPrivateKey {
+        key: string;
+        passphrase?: string,
+        padding?: number;
+    }
+    export function publicEncrypt(public_key: string | RsaPublicKey, buffer: Buffer): Buffer
+    export function privateDecrypt(private_key: string | RsaPrivateKey, buffer: Buffer): Buffer
+    export function privateEncrypt(private_key: string | RsaPrivateKey, buffer: Buffer): Buffer
+    export function publicDecrypt(public_key: string | RsaPublicKey, buffer: Buffer): Buffer
+    export function getCiphers(): string[];
+    export function getCurves(): string[];
+    export function getHashes(): string[];
+    export interface ECDH {
+        generateKeys(): Buffer;
+        generateKeys(encoding: HexBase64Latin1Encoding): string;
+        generateKeys(encoding: HexBase64Latin1Encoding, format: ECDHKeyFormat): string;
+        computeSecret(other_public_key: Buffer): Buffer;
+        computeSecret(other_public_key: string, input_encoding: HexBase64Latin1Encoding): Buffer;
+        computeSecret(other_public_key: string, input_encoding: HexBase64Latin1Encoding, output_encoding: HexBase64Latin1Encoding): string;
+        getPrivateKey(): Buffer;
+        getPrivateKey(encoding: HexBase64Latin1Encoding): string;
+        getPublicKey(): Buffer;
+        getPublicKey(encoding: HexBase64Latin1Encoding): string;
+        getPublicKey(encoding: HexBase64Latin1Encoding, format: ECDHKeyFormat): string;
+        setPrivateKey(private_key: Buffer): void;
+        setPrivateKey(private_key: string, encoding: HexBase64Latin1Encoding): void;
+    }
+    export function createECDH(curve_name: string): ECDH;
+    export var DEFAULT_ENCODING: string;
+}
+
+declare module "stream" {
+    import * as events from "events";
+
+    class internal extends events.EventEmitter {
+        pipe<T extends NodeJS.WritableStream>(destination: T, options?: { end?: boolean; }): T;
+    }
+    namespace internal {
+
+        export class Stream extends internal { }
+
+        export interface ReadableOptions {
+            highWaterMark?: number;
+            encoding?: string;
+            objectMode?: boolean;
+            read?: (size?: number) => any;
+        }
+
+        export class Readable extends events.EventEmitter implements NodeJS.ReadableStream {
+            readable: boolean;
+            constructor(opts?: ReadableOptions);
+            _read(size: number): void;
+            read(size?: number): any;
+            setEncoding(encoding: string): void;
+            pause(): Readable;
+            resume(): Readable;
+            pipe<T extends NodeJS.WritableStream>(destination: T, options?: { end?: boolean; }): T;
+            unpipe<T extends NodeJS.WritableStream>(destination?: T): void;
+            unshift(chunk: any): void;
+            wrap(oldStream: NodeJS.ReadableStream): NodeJS.ReadableStream;
+            push(chunk: any, encoding?: string): boolean;
+
+            /**
+             * Event emitter
+             * The defined events on documents including:
+             *   1. close
+             *   2. data
+             *   3. end
+             *   4. readable
+             *   5. error
+             **/
+            addListener(event: string, listener: Function): this;
+            addListener(event: string, listener: Function): this;
+            addListener(event: "close", listener: () => void): this;
+            addListener(event: "data", listener: (chunk: Buffer | string) => void): this;
+            addListener(event: "end", listener: () => void): this;
+            addListener(event: "readable", listener: () => void): this;
+            addListener(event: "error", listener: (err: Error) => void): this;
+
+            emit(event: string, ...args: any[]): boolean;
+            emit(event: "close"): boolean;
+            emit(event: "data", chunk: Buffer | string): boolean;
+            emit(event: "end"): boolean;
+            emit(event: "readable"): boolean;
+            emit(event: "error", err: Error): boolean;
+
+            on(event: string, listener: Function): this;
+            on(event: "close", listener: () => void): this;
+            on(event: "data", listener: (chunk: Buffer | string) => void): this;
+            on(event: "end", listener: () => void): this;
+            on(event: "readable", listener: () => void): this;
+            on(event: "error", listener: (err: Error) => void): this;
+
+            once(event: string, listener: Function): this;
+            once(event: "close", listener: () => void): this;
+            once(event: "data", listener: (chunk: Buffer | string) => void): this;
+            once(event: "end", listener: () => void): this;
+            once(event: "readable", listener: () => void): this;
+            once(event: "error", listener: (err: Error) => void): this;
+
+            prependListener(event: string, listener: Function): this;
+            prependListener(event: "close", listener: () => void): this;
+            prependListener(event: "data", listener: (chunk: Buffer | string) => void): this;
+            prependListener(event: "end", listener: () => void): this;
+            prependListener(event: "readable", listener: () => void): this;
+            prependListener(event: "error", listener: (err: Error) => void): this;
+
+            prependOnceListener(event: string, listener: Function): this;
+            prependOnceListener(event: "close", listener: () => void): this;
+            prependOnceListener(event: "data", listener: (chunk: Buffer | string) => void): this;
+            prependOnceListener(event: "end", listener: () => void): this;
+            prependOnceListener(event: "readable", listener: () => void): this;
+            prependOnceListener(event: "error", listener: (err: Error) => void): this;
+
+            removeListener(event: string, listener: Function): this;
+            removeListener(event: "close", listener: () => void): this;
+            removeListener(event: "data", listener: (chunk: Buffer | string) => void): this;
+            removeListener(event: "end", listener: () => void): this;
+            removeListener(event: "readable", listener: () => void): this;
+            removeListener(event: "error", listener: (err: Error) => void): this;
+        }
+
+        export interface WritableOptions {
+            highWaterMark?: number;
+            decodeStrings?: boolean;
+            objectMode?: boolean;
+            write?: (chunk: string | Buffer, encoding: string, callback: Function) => any;
+            writev?: (chunks: { chunk: string | Buffer, encoding: string }[], callback: Function) => any;
+        }
+
+        export class Writable extends events.EventEmitter implements NodeJS.WritableStream {
+            writable: boolean;
+            constructor(opts?: WritableOptions);
+            _write(chunk: any, encoding: string, callback: Function): void;
+            write(chunk: any, cb?: Function): boolean;
+            write(chunk: any, encoding?: string, cb?: Function): boolean;
+            end(): void;
+            end(chunk: any, cb?: Function): void;
+            end(chunk: any, encoding?: string, cb?: Function): void;
+
+            /**
+             * Event emitter
+             * The defined events on documents including:
+             *   1. close
+             *   2. drain
+             *   3. error
+             *   4. finish
+             *   5. pipe
+             *   6. unpipe
+             **/
+            addListener(event: string, listener: Function): this;
+            addListener(event: "close", listener: () => void): this;
+            addListener(event: "drain", listener: () => void): this;
+            addListener(event: "error", listener: (err: Error) => void): this;
+            addListener(event: "finish", listener: () => void): this;
+            addListener(event: "pipe", listener: (src: Readable) => void): this;
+            addListener(event: "unpipe", listener: (src: Readable) => void): this;
+
+            emit(event: string, ...args: any[]): boolean;
+            emit(event: "close"): boolean;
+            emit(event: "drain", chunk: Buffer | string): boolean;
+            emit(event: "error", err: Error): boolean;
+            emit(event: "finish"): boolean;
+            emit(event: "pipe", src: Readable): boolean;
+            emit(event: "unpipe", src: Readable): boolean;
+
+            on(event: string, listener: Function): this;
+            on(event: "close", listener: () => void): this;
+            on(event: "drain", listener: () => void): this;
+            on(event: "error", listener: (err: Error) => void): this;
+            on(event: "finish", listener: () => void): this;
+            on(event: "pipe", listener: (src: Readable) => void): this;
+            on(event: "unpipe", listener: (src: Readable) => void): this;
+
+            once(event: string, listener: Function): this;
+            once(event: "close", listener: () => void): this;
+            once(event: "drain", listener: () => void): this;
+            once(event: "error", listener: (err: Error) => void): this;
+            once(event: "finish", listener: () => void): this;
+            once(event: "pipe", listener: (src: Readable) => void): this;
+            once(event: "unpipe", listener: (src: Readable) => void): this;
+
+            prependListener(event: string, listener: Function): this;
+            prependListener(event: "close", listener: () => void): this;
+            prependListener(event: "drain", listener: () => void): this;
+            prependListener(event: "error", listener: (err: Error) => void): this;
+            prependListener(event: "finish", listener: () => void): this;
+            prependListener(event: "pipe", listener: (src: Readable) => void): this;
+            prependListener(event: "unpipe", listener: (src: Readable) => void): this;
+
+            prependOnceListener(event: string, listener: Function): this;
+            prependOnceListener(event: "close", listener: () => void): this;
+            prependOnceListener(event: "drain", listener: () => void): this;
+            prependOnceListener(event: "error", listener: (err: Error) => void): this;
+            prependOnceListener(event: "finish", listener: () => void): this;
+            prependOnceListener(event: "pipe", listener: (src: Readable) => void): this;
+            prependOnceListener(event: "unpipe", listener: (src: Readable) => void): this;
+
+            removeListener(event: string, listener: Function): this;
+            removeListener(event: "close", listener: () => void): this;
+            removeListener(event: "drain", listener: () => void): this;
+            removeListener(event: "error", listener: (err: Error) => void): this;
+            removeListener(event: "finish", listener: () => void): this;
+            removeListener(event: "pipe", listener: (src: Readable) => void): this;
+            removeListener(event: "unpipe", listener: (src: Readable) => void): this;
+        }
+
+        export interface DuplexOptions extends ReadableOptions, WritableOptions {
+            allowHalfOpen?: boolean;
+            readableObjectMode?: boolean;
+            writableObjectMode?: boolean;
+        }
+
+        // Note: Duplex extends both Readable and Writable.
+        export class Duplex extends Readable implements NodeJS.ReadWriteStream {
+            // Readable
+            pause(): Duplex;
+            resume(): Duplex;
+            // Writeable
+            writable: boolean;
+            constructor(opts?: DuplexOptions);
+            _write(chunk: any, encoding: string, callback: Function): void;
+            write(chunk: any, cb?: Function): boolean;
+            write(chunk: any, encoding?: string, cb?: Function): boolean;
+            end(): void;
+            end(chunk: any, cb?: Function): void;
+            end(chunk: any, encoding?: string, cb?: Function): void;
+        }
+
+        export interface TransformOptions extends ReadableOptions, WritableOptions {
+            transform?: (chunk: string | Buffer, encoding: string, callback: Function) => any;
+            flush?: (callback: Function) => any;
+        }
+
+        // Note: Transform lacks the _read and _write methods of Readable/Writable.
+        export class Transform extends events.EventEmitter implements NodeJS.ReadWriteStream {
+            readable: boolean;
+            writable: boolean;
+            constructor(opts?: TransformOptions);
+            _transform(chunk: any, encoding: string, callback: Function): void;
+            _flush(callback: Function): void;
+            read(size?: number): any;
+            setEncoding(encoding: string): void;
+            pause(): Transform;
+            resume(): Transform;
+            pipe<T extends NodeJS.WritableStream>(destination: T, options?: { end?: boolean; }): T;
+            unpipe<T extends NodeJS.WritableStream>(destination?: T): void;
+            unshift(chunk: any): void;
+            wrap(oldStream: NodeJS.ReadableStream): NodeJS.ReadableStream;
+            push(chunk: any, encoding?: string): boolean;
+            write(chunk: any, cb?: Function): boolean;
+            write(chunk: any, encoding?: string, cb?: Function): boolean;
+            end(): void;
+            end(chunk: any, cb?: Function): void;
+            end(chunk: any, encoding?: string, cb?: Function): void;
+        }
+
+        export class PassThrough extends Transform { }
+    }
+
+    export = internal;
+}
+
+declare module "util" {
+    export interface InspectOptions {
+        showHidden?: boolean;
+        depth?: number;
+        colors?: boolean;
+        customInspect?: boolean;
+    }
+
+    export function format(format: any, ...param: any[]): string;
+    export function debug(string: string): void;
+    export function error(...param: any[]): void;
+    export function puts(...param: any[]): void;
+    export function print(...param: any[]): void;
+    export function log(string: string): void;
+    export function inspect(object: any, showHidden?: boolean, depth?: number, color?: boolean): string;
+    export function inspect(object: any, options: InspectOptions): string;
+    export function isArray(object: any): boolean;
+    export function isRegExp(object: any): boolean;
+    export function isDate(object: any): boolean;
+    export function isError(object: any): boolean;
+    export function inherits(constructor: any, superConstructor: any): void;
+    export function debuglog(key: string): (msg: string, ...param: any[]) => void;
+    export function isBoolean(object: any): boolean;
+    export function isBuffer(object: any): boolean;
+    export function isFunction(object: any): boolean;
+    export function isNull(object: any): boolean;
+    export function isNullOrUndefined(object: any): boolean;
+    export function isNumber(object: any): boolean;
+    export function isObject(object: any): boolean;
+    export function isPrimitive(object: any): boolean;
+    export function isString(object: any): boolean;
+    export function isSymbol(object: any): boolean;
+    export function isUndefined(object: any): boolean;
+    export function deprecate(fn: Function, message: string): Function;
+}
+
+declare module "assert" {
+    function internal(value: any, message?: string): void;
+    namespace internal {
+        export class AssertionError implements Error {
+            name: string;
+            message: string;
+            actual: any;
+            expected: any;
+            operator: string;
+            generatedMessage: boolean;
+
+            constructor(options?: {
+                message?: string; actual?: any; expected?: any;
+                operator?: string; stackStartFunction?: Function
+            });
+        }
+
+        export function fail(actual: any, expected: any, message: string, operator: string): void;
+        export function ok(value: any, message?: string): void;
+        export function equal(actual: any, expected: any, message?: string): void;
+        export function notEqual(actual: any, expected: any, message?: string): void;
+        export function deepEqual(actual: any, expected: any, message?: string): void;
+        export function notDeepEqual(acutal: any, expected: any, message?: string): void;
+        export function strictEqual(actual: any, expected: any, message?: string): void;
+        export function notStrictEqual(actual: any, expected: any, message?: string): void;
+        export function deepStrictEqual(actual: any, expected: any, message?: string): void;
+        export function notDeepStrictEqual(actual: any, expected: any, message?: string): void;
+        export var throws: {
+            (block: Function, message?: string): void;
+            (block: Function, error: Function, message?: string): void;
+            (block: Function, error: RegExp, message?: string): void;
+            (block: Function, error: (err: any) => boolean, message?: string): void;
+        };
+
+        export var doesNotThrow: {
+            (block: Function, message?: string): void;
+            (block: Function, error: Function, message?: string): void;
+            (block: Function, error: RegExp, message?: string): void;
+            (block: Function, error: (err: any) => boolean, message?: string): void;
+        };
+
+        export function ifError(value: any): void;
+    }
+
+    export = internal;
+}
+
+declare module "tty" {
+    import * as net from "net";
+
+    export function isatty(fd: number): boolean;
+    export interface ReadStream extends net.Socket {
+        isRaw: boolean;
+        setRawMode(mode: boolean): void;
+        isTTY: boolean;
+    }
+    export interface WriteStream extends net.Socket {
+        columns: number;
+        rows: number;
+        isTTY: boolean;
+    }
+}
+
+declare module "domain" {
+    import * as events from "events";
+
+    export class Domain extends events.EventEmitter implements NodeJS.Domain {
+        run(fn: Function): void;
+        add(emitter: events.EventEmitter): void;
+        remove(emitter: events.EventEmitter): void;
+        bind(cb: (err: Error, data: any) => any): any;
+        intercept(cb: (data: any) => any): any;
+        dispose(): void;
+        members: any[];
+        enter(): void;
+        exit(): void;
+    }
+
+    export function create(): Domain;
+}
+
+declare module "constants" {
+    export var E2BIG: number;
+    export var EACCES: number;
+    export var EADDRINUSE: number;
+    export var EADDRNOTAVAIL: number;
+    export var EAFNOSUPPORT: number;
+    export var EAGAIN: number;
+    export var EALREADY: number;
+    export var EBADF: number;
+    export var EBADMSG: number;
+    export var EBUSY: number;
+    export var ECANCELED: number;
+    export var ECHILD: number;
+    export var ECONNABORTED: number;
+    export var ECONNREFUSED: number;
+    export var ECONNRESET: number;
+    export var EDEADLK: number;
+    export var EDESTADDRREQ: number;
+    export var EDOM: number;
+    export var EEXIST: number;
+    export var EFAULT: number;
+    export var EFBIG: number;
+    export var EHOSTUNREACH: number;
+    export var EIDRM: number;
+    export var EILSEQ: number;
+    export var EINPROGRESS: number;
+    export var EINTR: number;
+    export var EINVAL: number;
+    export var EIO: number;
+    export var EISCONN: number;
+    export var EISDIR: number;
+    export var ELOOP: number;
+    export var EMFILE: number;
+    export var EMLINK: number;
+    export var EMSGSIZE: number;
+    export var ENAMETOOLONG: number;
+    export var ENETDOWN: number;
+    export var ENETRESET: number;
+    export var ENETUNREACH: number;
+    export var ENFILE: number;
+    export var ENOBUFS: number;
+    export var ENODATA: number;
+    export var ENODEV: number;
+    export var ENOENT: number;
+    export var ENOEXEC: number;
+    export var ENOLCK: number;
+    export var ENOLINK: number;
+    export var ENOMEM: number;
+    export var ENOMSG: number;
+    export var ENOPROTOOPT: number;
+    export var ENOSPC: number;
+    export var ENOSR: number;
+    export var ENOSTR: number;
+    export var ENOSYS: number;
+    export var ENOTCONN: number;
+    export var ENOTDIR: number;
+    export var ENOTEMPTY: number;
+    export var ENOTSOCK: number;
+    export var ENOTSUP: number;
+    export var ENOTTY: number;
+    export var ENXIO: number;
+    export var EOPNOTSUPP: number;
+    export var EOVERFLOW: number;
+    export var EPERM: number;
+    export var EPIPE: number;
+    export var EPROTO: number;
+    export var EPROTONOSUPPORT: number;
+    export var EPROTOTYPE: number;
+    export var ERANGE: number;
+    export var EROFS: number;
+    export var ESPIPE: number;
+    export var ESRCH: number;
+    export var ETIME: number;
+    export var ETIMEDOUT: number;
+    export var ETXTBSY: number;
+    export var EWOULDBLOCK: number;
+    export var EXDEV: number;
+    export var WSAEINTR: number;
+    export var WSAEBADF: number;
+    export var WSAEACCES: number;
+    export var WSAEFAULT: number;
+    export var WSAEINVAL: number;
+    export var WSAEMFILE: number;
+    export var WSAEWOULDBLOCK: number;
+    export var WSAEINPROGRESS: number;
+    export var WSAEALREADY: number;
+    export var WSAENOTSOCK: number;
+    export var WSAEDESTADDRREQ: number;
+    export var WSAEMSGSIZE: number;
+    export var WSAEPROTOTYPE: number;
+    export var WSAENOPROTOOPT: number;
+    export var WSAEPROTONOSUPPORT: number;
+    export var WSAESOCKTNOSUPPORT: number;
+    export var WSAEOPNOTSUPP: number;
+    export var WSAEPFNOSUPPORT: number;
+    export var WSAEAFNOSUPPORT: number;
+    export var WSAEADDRINUSE: number;
+    export var WSAEADDRNOTAVAIL: number;
+    export var WSAENETDOWN: number;
+    export var WSAENETUNREACH: number;
+    export var WSAENETRESET: number;
+    export var WSAECONNABORTED: number;
+    export var WSAECONNRESET: number;
+    export var WSAENOBUFS: number;
+    export var WSAEISCONN: number;
+    export var WSAENOTCONN: number;
+    export var WSAESHUTDOWN: number;
+    export var WSAETOOMANYREFS: number;
+    export var WSAETIMEDOUT: number;
+    export var WSAECONNREFUSED: number;
+    export var WSAELOOP: number;
+    export var WSAENAMETOOLONG: number;
+    export var WSAEHOSTDOWN: number;
+    export var WSAEHOSTUNREACH: number;
+    export var WSAENOTEMPTY: number;
+    export var WSAEPROCLIM: number;
+    export var WSAEUSERS: number;
+    export var WSAEDQUOT: number;
+    export var WSAESTALE: number;
+    export var WSAEREMOTE: number;
+    export var WSASYSNOTREADY: number;
+    export var WSAVERNOTSUPPORTED: number;
+    export var WSANOTINITIALISED: number;
+    export var WSAEDISCON: number;
+    export var WSAENOMORE: number;
+    export var WSAECANCELLED: number;
+    export var WSAEINVALIDPROCTABLE: number;
+    export var WSAEINVALIDPROVIDER: number;
+    export var WSAEPROVIDERFAILEDINIT: number;
+    export var WSASYSCALLFAILURE: number;
+    export var WSASERVICE_NOT_FOUND: number;
+    export var WSATYPE_NOT_FOUND: number;
+    export var WSA_E_NO_MORE: number;
+    export var WSA_E_CANCELLED: number;
+    export var WSAEREFUSED: number;
+    export var SIGHUP: number;
+    export var SIGINT: number;
+    export var SIGILL: number;
+    export var SIGABRT: number;
+    export var SIGFPE: number;
+    export var SIGKILL: number;
+    export var SIGSEGV: number;
+    export var SIGTERM: number;
+    export var SIGBREAK: number;
+    export var SIGWINCH: number;
+    export var SSL_OP_ALL: number;
+    export var SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION: number;
+    export var SSL_OP_CIPHER_SERVER_PREFERENCE: number;
+    export var SSL_OP_CISCO_ANYCONNECT: number;
+    export var SSL_OP_COOKIE_EXCHANGE: number;
+    export var SSL_OP_CRYPTOPRO_TLSEXT_BUG: number;
+    export var SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS: number;
+    export var SSL_OP_EPHEMERAL_RSA: number;
+    export var SSL_OP_LEGACY_SERVER_CONNECT: number;
+    export var SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER: number;
+    export var SSL_OP_MICROSOFT_SESS_ID_BUG: number;
+    export var SSL_OP_MSIE_SSLV2_RSA_PADDING: number;
+    export var SSL_OP_NETSCAPE_CA_DN_BUG: number;
+    export var SSL_OP_NETSCAPE_CHALLENGE_BUG: number;
+    export var SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG: number;
+    export var SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG: number;
+    export var SSL_OP_NO_COMPRESSION: number;
+    export var SSL_OP_NO_QUERY_MTU: number;
+    export var SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION: number;
+    export var SSL_OP_NO_SSLv2: number;
+    export var SSL_OP_NO_SSLv3: number;
+    export var SSL_OP_NO_TICKET: number;
+    export var SSL_OP_NO_TLSv1: number;
+    export var SSL_OP_NO_TLSv1_1: number;
+    export var SSL_OP_NO_TLSv1_2: number;
+    export var SSL_OP_PKCS1_CHECK_1: number;
+    export var SSL_OP_PKCS1_CHECK_2: number;
+    export var SSL_OP_SINGLE_DH_USE: number;
+    export var SSL_OP_SINGLE_ECDH_USE: number;
+    export var SSL_OP_SSLEAY_080_CLIENT_DH_BUG: number;
+    export var SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG: number;
+    export var SSL_OP_TLS_BLOCK_PADDING_BUG: number;
+    export var SSL_OP_TLS_D5_BUG: number;
+    export var SSL_OP_TLS_ROLLBACK_BUG: number;
+    export var ENGINE_METHOD_DSA: number;
+    export var ENGINE_METHOD_DH: number;
+    export var ENGINE_METHOD_RAND: number;
+    export var ENGINE_METHOD_ECDH: number;
+    export var ENGINE_METHOD_ECDSA: number;
+    export var ENGINE_METHOD_CIPHERS: number;
+    export var ENGINE_METHOD_DIGESTS: number;
+    export var ENGINE_METHOD_STORE: number;
+    export var ENGINE_METHOD_PKEY_METHS: number;
+    export var ENGINE_METHOD_PKEY_ASN1_METHS: number;
+    export var ENGINE_METHOD_ALL: number;
+    export var ENGINE_METHOD_NONE: number;
+    export var DH_CHECK_P_NOT_SAFE_PRIME: number;
+    export var DH_CHECK_P_NOT_PRIME: number;
+    export var DH_UNABLE_TO_CHECK_GENERATOR: number;
+    export var DH_NOT_SUITABLE_GENERATOR: number;
+    export var NPN_ENABLED: number;
+    export var RSA_PKCS1_PADDING: number;
+    export var RSA_SSLV23_PADDING: number;
+    export var RSA_NO_PADDING: number;
+    export var RSA_PKCS1_OAEP_PADDING: number;
+    export var RSA_X931_PADDING: number;
+    export var RSA_PKCS1_PSS_PADDING: number;
+    export var POINT_CONVERSION_COMPRESSED: number;
+    export var POINT_CONVERSION_UNCOMPRESSED: number;
+    export var POINT_CONVERSION_HYBRID: number;
+    export var O_RDONLY: number;
+    export var O_WRONLY: number;
+    export var O_RDWR: number;
+    export var S_IFMT: number;
+    export var S_IFREG: number;
+    export var S_IFDIR: number;
+    export var S_IFCHR: number;
+    export var S_IFBLK: number;
+    export var S_IFIFO: number;
+    export var S_IFSOCK: number;
+    export var S_IRWXU: number;
+    export var S_IRUSR: number;
+    export var S_IWUSR: number;
+    export var S_IXUSR: number;
+    export var S_IRWXG: number;
+    export var S_IRGRP: number;
+    export var S_IWGRP: number;
+    export var S_IXGRP: number;
+    export var S_IRWXO: number;
+    export var S_IROTH: number;
+    export var S_IWOTH: number;
+    export var S_IXOTH: number;
+    export var S_IFLNK: number;
+    export var O_CREAT: number;
+    export var O_EXCL: number;
+    export var O_NOCTTY: number;
+    export var O_DIRECTORY: number;
+    export var O_NOATIME: number;
+    export var O_NOFOLLOW: number;
+    export var O_SYNC: number;
+    export var O_SYMLINK: number;
+    export var O_DIRECT: number;
+    export var O_NONBLOCK: number;
+    export var O_TRUNC: number;
+    export var O_APPEND: number;
+    export var F_OK: number;
+    export var R_OK: number;
+    export var W_OK: number;
+    export var X_OK: number;
+    export var UV_UDP_REUSEADDR: number;
+    export var SIGQUIT: number;
+    export var SIGTRAP: number;
+    export var SIGIOT: number;
+    export var SIGBUS: number;
+    export var SIGUSR1: number;
+    export var SIGUSR2: number;
+    export var SIGPIPE: number;
+    export var SIGALRM: number;
+    export var SIGCHLD: number;
+    export var SIGSTKFLT: number;
+    export var SIGCONT: number;
+    export var SIGSTOP: number;
+    export var SIGTSTP: number;
+    export var SIGTTIN: number;
+    export var SIGTTOU: number;
+    export var SIGURG: number;
+    export var SIGXCPU: number;
+    export var SIGXFSZ: number;
+    export var SIGVTALRM: number;
+    export var SIGPROF: number;
+    export var SIGIO: number;
+    export var SIGPOLL: number;
+    export var SIGPWR: number;
+    export var SIGSYS: number;
+    export var SIGUNUSED: number;
+    export var defaultCoreCipherList: string;
+    export var defaultCipherList: string;
+    export var ENGINE_METHOD_RSA: number;
+    export var ALPN_ENABLED: number;
+}
+
+declare module "process" {
+    export = process;
+}
+
+declare module "v8" {
+    interface HeapSpaceInfo {
+        space_name: string;
+        space_size: number;
+        space_used_size: number;
+        space_available_size: number;
+        physical_space_size: number;
+    }
+    export function getHeapStatistics(): { total_heap_size: number, total_heap_size_executable: number, total_physical_size: number, total_avaialble_size: number, used_heap_size: number, heap_size_limit: number };
+    export function getHeapSpaceStatistics(): HeapSpaceInfo[];
+    export function setFlagsFromString(flags: string): void;
+}
+
+declare module "timers" {
+    export function setTimeout(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timer;
+    export function clearTimeout(timeoutId: NodeJS.Timer): void;
+    export function setInterval(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timer;
+    export function clearInterval(intervalId: NodeJS.Timer): void;
+    export function setImmediate(callback: (...args: any[]) => void, ...args: any[]): any;
+    export function clearImmediate(immediateId: any): void;
+}
+
+declare module "console" {
+    export = console;
+}
diff --git a/typings/globals/node/typings.json b/typings/globals/node/typings.json
new file mode 100644
index 0000000000000000000000000000000000000000..80c02bb5f5ef3b48e8868b69ce6de64f36c039e5
--- /dev/null
+++ b/typings/globals/node/typings.json
@@ -0,0 +1,8 @@
+{
+  "resolution": "main",
+  "tree": {
+    "src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/66484e9f11a93a89d972ba009e81957338e26ed7/node/node.d.ts",
+    "raw": "registry:dt/node#6.0.0+20160921192128",
+    "typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/66484e9f11a93a89d972ba009e81957338e26ed7/node/node.d.ts"
+  }
+}
diff --git a/typings/index.d.ts b/typings/index.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..2ede722e7e16a610a3293d044f0a0744972bcd0a
--- /dev/null
+++ b/typings/index.d.ts
@@ -0,0 +1,3 @@
+/// <reference path="globals/jquery/index.d.ts" />
+/// <reference path="globals/node/index.d.ts" />
+/// <reference path="globals/react/index.d.ts" />