Some newer code

Hooked up gt-core now using the C wrapper.