add case class examples
add stateful object
add type parameterization examples