Create resource loader