cleanup
refactored architecture; brought in LayerMgr as Layers