updated geometries

- added attribute management for BufferGeometry [like in layoutBG]
- some code clean up

need to update examples