controller code
Updated readme.