Add module.

`ghcmod` considers everything without a module to be inside the `Main`
module which requires a `main` function.

Defining a module does not require a `main` function which is what we
want here.
Remove unnecessary `x`.