Added pages and styles an functions