added preferred_location implementation, deleted Priority and Stores
class