Included jscalendar datepicker widget to input date
Added new table to store factors and reference field in the data
table