created page class to insert elements

Created page class to insert elements