changed page to hold an array of pages, added add_from_url subroutine