fix status codes and add to_int
make stuff public
more gitignore
into crate
update README
docs