refactoring display to be more django-like
added static support for the DM view