Generating staticPages Controller