initialize the readme.md and sql file, set up the working mode