Deleted refiner and tileentities, made code cleaner