commented out main template generation (to be moved to a main-crud)