It would be nice to specify the directory as well as the port via the command line, so we should add some command line parsing here