added sceneDefinition and sceneDirector to the core files
fixed addStyle declaration
fixed a bunch of errors during merging causing compilation issues
added setup to style and polygonstyle
fixed a bunch of errors during merging causing compilation issues
moved template method definition to the header files, reason: definition of a member template function can not live in the cpp file and has to live in the header. However it is not necessary for it to be inline