Rearranged the files, added requirement check and an example.
Added readme text.