Reworked Discretizer to be more of a parent class and be in line with the documentation