Centralise resource loading