read config and set the network ID
create costume class