Add build rule
Rename sample main
Add sampleTest
add TravisCI config