restructured project. added tests. page struct parses links.