Move 'analyze' to util/