Update files to work with rustpkg.
Update readme
Update cast to chars from u32