Fix urls and add various workarounds for current limitations.
Update README and add LICENSE.