Creating a page state

I'm still stuck with the list of urls so i'm trying to do something (ie
: the page state and a response of the server that corresponds to it). I
will also try to clean up things with inputstream as soon as i can...