Class Interval improved, but not finished, added getters and setters for boundaries