initialize some variables to 0 by default
add a stub methods on primitive types
fixed wrong default value
implement additional constructor
implement and use correct exceptions
fix typo