Added API for oSUMO. Still very early.

Code needs to be seriously refactored and tested before we can do
anything.