what are the main components in a network