library structure
based on https://github.com/openai/gym-http-api/blob/master/binding-rust/src/lib.rs