Removed all hard coding about algorithm and encoding and added them as settings.
Added performance test
Pruned irrelevant performance test. Added 50k and 100k amounts.