.gitignore file created. and some code clean.