improved Makefile and added Travis CI support