Rename the data structure article to page
Refactoring: Move some helper functions to a module