Modified logic to make adding new pages easy + documentation for this feature. fixes #2