experimental version.

everything compiles quite fine, but many features are still missing.