add repository related controller files, update template related targets to use recursive method references matcher