Started to work on classes
Add Interval class