added display and editor templates, fixed stylecop warnings