add main, tests, travis