split the file into two
changed the port
removed the unnecessary code