Added edit and view template methods to the attributes, and moved the templates into a core directory, so the attributes can be used by other modules (mainly the layout one which is being worked on right now)