Updated db-writeconfig to be composer-friendly.

Updated templates to latest standard.