A framework of loader for resources, such as images, videos and audio