code clean up
add travis
add travis to readme