Refactored resource loading.

No longer loading resources from the classpath, which allowed for
packaging images in the jar but seemed to hurt performance.