Move ResourcePool to common