Add basic files to start compiling lib.
Fix compilation errors in 'dist' target.
Add NUnit tests.
Add some NUnit tests.