modify directory structure and .gitignore, and add some base files