Invocationgenerator splitted into multiple classes