Setup base generator and templates