reorganized API
Added README and LICENSE