added main to package json
added travis support