code re-org + add page title and meta factories