fAddclass & fclass fix

now allowed to enter infinite schedules to the same class id
minor bug fixes