Fixed some bugs, adapted to newest libs
Refactoring / progress
UNRELATED TESTS: component system