make more OO, handle views if present and loading XML from a local file path