Misc changes, better support for parsing time interval, more documentation