New Core and minor bug fixes

- Integrated new Core
- Some bug fixes
- Some new parts for the new Core