Added license info to README.
Added sample module and tests.