updating some templates to fix errors and also adding a scaffold layout template