simple resource loading/manager implementation