add setup.py, Makefile and test, support travis and sonar