Removed metaproperties from Scope api
Implemented loops for global layers
Implemented generalized looping to create layers
Added key,value loops