Added the main script.
Updated readme.