Moved special page rendering to dedicated class

Change-Id: If72ace549e4029c204d1deff9d915367fcaf3895