finished ogm module; fixes #106, fixes #112