Added layout parameter.
Updated the version number in php and readme.