Added license and version to src file.
Added example to README.