break apart builds
add templates
integrate .dist to .php change from api-gateway