Code is properly commented.

tests are removed to their own file. Few tests are missing.