moving generator templates out into individual files