working on configuring an item template UI.

modified db to have fields concept for templates.
CRLF fix