move boilerplate to tools