Add class files. Make it possible to specify host and port on commandline.