add java doc for UI api and update READEME