Removed client.go and unneeded legacy.go and legacy_test.go.
Updated LICENSE and README.
Added some comments.