Clean up config, missed setting port, and docblocks.