Add a generic initializer, for readability
Add interval parsing