Refactoring and Minimap

resolve #5

shapes are handles in a more Angular way by collaborating with $scope and $emit'ting events. A router has been introduced to manage the internal data traffic in the app. A primitive version of a minimap is now showing and performing quite okay.