remove cruft modules
Extract tile replacement policy into a pluggable adapter