Updated the test file
Performance improvements
More performance improvements
Rewrote readme and change the interface