changed scedule add/edit to accept distance rather than duration
implemented first part of stats