Quality unit test added. Many Bugs fixed.