Nil case class, class and object compile now
fixed a type error in the with part of the normal class
fixed a mistake in changing the type of vals in the case class
fixed the apply function for classes with no val parameters