factory refactoring to layer bucket
refactor every found layers() to layerBucket
fix select stuff via mouse handler, reproduced issue with test case, status: red
fixed select rect issue