Added LoadResource class