add SGD optimization, refactor param, update README.md