simplify template and implement import and export (import does not update list yet)