#14

bug fix where a layer is added twice. Now core’s function ```
_addLayerWithConfig ``` will not add a layer if a layer with the given
ID was already added.
#86