Finish README

code rearranged