Added a css file and linked to it in the header. Also changed the templa...

...te factory to use the same method to produce the edit and detail views, and just wrapped that method with detail specific and edit specific method.