Add setup.py to automatically install dependencies

  - Add setup.py, python setuptools style
Change gitignore to ignore vim swp files and log directory
setting the environment
setting the environment