Code cleanup
Moved the page insertion code to the WikiContent class