modules and templates in separate packages