adding base structure to theme templates