Big overhaul

Sparse Encoder code added.
New Readme File