remove unrelated files
add support for different port number