Major redesign: code has been divided in modules, one for each layer. Also, the zoom actions is now animated.