Add requirements.txt
Remove src directory, add test layout.

Add .travis.yml for travis-CI.
tests: Refine ID test, ensure ID can vary in length