Use a base template for the simple API templates
Code style clean ups