Added new class Loop for class Layer. Loop is class which descripted some loop. Added zindex into Primitive. Added in Layer sorting by zindex.
The method SetLisener was added into Layer. This method usefull for seting callbacks on some event, now only for mouse events
Has generated compresed file
Added class Primitives. Have some ideas for optimisation clearing