Minor fixes.
Added the 'How it works' section into README.