Reorganize tests aside the implementation.
Add nant build script.