improve ruby bindings,update darm_t struct; fixes #3