Removal of primitives using pass-by-pointer values

* Removed primitives using pass-by-pointer values
* Adapted tests
* cleaned code

(closes #157)
Refactoring of item type management in signature instances