put the code into different files idsconfig,idsfunc,idsproto