moving application controller around so apps use default app layout and changing links to pages