IntelliJ IDEA support, immutable map, and 404 bugfix

Hey, funny service! I just made a couple tweaks to the code. I changed the words map to immutable (immutable variables are generally preferred in functional languages) and loaded it a bit more functionally. Plus, I fixed a bug: previously, a missing URL would return a server error rather than the URL Not Found header.