/common for code reusability

- I moved c structs to `/common/c_types.rs`
- util.rs now lives under `/common`
- id.rs is now using util.rs
- whoami and id now share c types.