changed price field type from double to float
Fixed some bugs in builder

extracted Interval class to avoid generics errors
fixed interval flip from to bug
fixed double date field type bug
fixed test file to contain only needed fields