Made main.tools a package to allow relative imports.