add google client APIs, split index.html into layout.html