sample app and code template configs updated to new structures, refs #519