Move parameter setting from kiss module and move to top level 'main' so that kiss modules needs no knowledge of lower layers