Created an AssetLoader class. This will probably be useful elsewhere