Created Rust trait and listen to responses
Added test using as lib