Used an init func instead of initialisers

Ends up slightly neater. (Also note Error goes from os.Stdout to
os.Stderr)