Add functions

page parser was complete, but it was not tested, to be continued!