Seperate the selector handling and the Parsley tree extraction.

Also, allow parsing of a webpage or (HTML) file directly