Add framework for resource loading