Refactoring and context handling

Refactored some plugins to own plugins
Added stack for context params - preparation for 3d engine
Fixed logical flaw in property recreation handling - need more work