Allow setting of port to run on

Works from both a "port" key in the config, or setting the -p flag from
the command line.
Store the predefined layouts in the config file