Resolution is implemented.
reorder readme.
Refractor code.