move tests to test directory
fix readme
move code to src folder; fixed strict warnings
add travis ci config