Straightened out foundation and added a template