added appnode for handling each of the main nodes and connection for handling the line between each node