Changes `static` variable in `main` to `const`.

Also rearranges the `use` and `mod` statements in main.rs to eliminate
whitespace.