added the command class
added methods to draw textures direct in the texture class