moved templates to NORM-core;TODO: generify names.