introducing cabling from config file
some cleanup