Admin Forum:Move contents of talk pages

On the Hogwarts RPG Wiki, we want to switch to the comments but we use talk pages on most of our pages. Is there a way to automatically move the contents of talk pages to their page under a section called "Messages" and then redirect the talk pages to that section? (I was thinking making a bot do it.) Example: User:Hogwarts RPG automatically moves the contents Talk:Gringotts the Wizarding Bank to the bottom of Gringotts the Wizarding Bank under a section it creates titled "Messages". It also changes all the sections of the Talk page to sub-sections in the section on the page. It also redirects the talk page to the messages section on the page. Thanks!