Added basic support for model loading and switched to FreeImage for image loading.