adding template partials support and customizable theme option support