Add basic graphicFrame support

First step for chart support
Code refactoring: Clean up
Prepare for chart support