Seperating framework from generator