Improved dashboard rendering and refactored dashboard controller out to an object. More yet to do here.