fixed include paths and fixed error port already in use