Add error functions, crawl functions, page functions, various structures. Currently broken.