Changed the location of ResourcePtr

moved it to Base resource, forward declared Base resource.