Add tool to parse and insert templates into database