refactor(Page): convert functions to be usable with pipelines this isn't complete though, will finish this tomorrow