Implementing a loader and resource system.