Changed most of the usage of java.sql.Date to jodaTime