[#106] Added ResourceManager and updated TextureManager.