Continued code integration. Added Direct3DBase, it has to be refactored. Throws exception now.