parser for input to server file almost complete (in and out edges missing)