Main theme structure layout

added new function to move scripts to footer, cleaned header code