removed unused constant. added *.swp files to ignore. added .travis.yml file for travis ci support.