Added getCurrentRoutine and getCompletedRoutines, changed completedTime from long to java.sql.Date