Implemented controller traits, enhanced default template resolver