templates
implement module manager and main template