Add example template and improve core modules