Funny, I was just looking at Google Apps Script with the idea of making an add-on for Documents. The tool looks brilliant. It supports many Google services (from fusion tables to Gmail to...), provices simple sharing with anyone and proper authentication. But it does not provide any tool for building better models or architecture. It's VBA on the web.