Refactor class names and remove explicit dependency on tile entities from the peripheral classes.