Deduplicate asset loading code

Instead of writing addFooAsset() each time, keep a list
of filenames, and iterate through them.
Merge pull request #11 from crumblingstatue/dedup_asset_loading_code

Deduplicate asset loading code