add basic tests, improve readme, docs etc
add travis CI