adds Page class and .gitingore file