Directx template
Started work on it again