So I almost finished my WordPress theme options framework which completely is XML driven. Now I am at the point where I want to include the theme options into my theme. I already have an array wit keys and values but I want to access it with a function like the standard WordPress: get_option(‘optionname’);
I don’t want to include it directly in to the header of my theme. Is there something like a WP hook which is fired at the beginning of displaying a theme?

