REN-124 Refactored code. Added new option to osgplugin to choose theme

Added option to parse multiple appearance themes and chose one.