add travis config
refactoring transformation samples
add tests