Made render() and makeDom() independent outside of the constructor. Now dynamically extended by specific 'layers' in namespace.