added .gitignore, cleaned codes

my and your personal Eclipse project metadata will not reflect in the
repo