Random page API

Change-Id: Ie9b91ad0908f635ec9ef4688e254c22b3eaf8598