Move ReposeEntityFilter to its own file instead of being a nested class