finished DirectX Initialization

Added Cleanup Method to the device and finished the DirectX
Initialization