move Intervals class at the beginning of the file
add checkbox for drawing axis or not
add checkbox for drawing projections or not