Added license.
Modified exit codes.
Updated README.