Copied some classes from tODE, implemented some GCI API calls.