DX Manager class

This class replaces the DX initialization previously found in the
main.cpp file.