Renamed crate_id to std
Refactor the code to be more libstd like