if any error raise exception from Core.py
Massivly improved logging by changing alot of prints to proper Log
class.
Added function _validate_scalar_type() in core.py to fix the
validation of scalar values that did not work proper before.
Removed useless prints
Added TestCore to the unittest
Improved testclasses and fixed some broken tests in TestCore