Rand moved to its own crate

Also suppresed some warnings about uppercase_variables