Update readme to use markdown format and extend documentation.