adding IntervalType enum as suggested (with a few changes - it didn't have SECOND for example). Very clean now
moving enum out of enums/ namespace
renaming IntervalType to Interval
Fixed pom.xml
Fix #1191 (SQLite deploy)