Write a Direct3D Device Class.

We want this class to encapsulate the basic information about Direct3D. Initializing the immediate context in here is fine as well.