Refactor folder structure and add some tools.