Adding Direct3D9 Platform Framework

And Split common desktop classes to other library