Refactor ShardSpace to RetentionPolicy

This should be ready to go here. @benbjohnson: please to review