add precompile templates and layout