Untested code for making pages from directory convention rather then config