adding all pages and code from treehouse