get rid of Parser class in template, change everything else accordingly