Add resource management system

Added a basic resource management system. Includes support for loading Truevision TGA textures and Wavefront OBJ models.