[ticket/11241] Move the tools code into its own file.

PHPBB3-11241