updated api documentation.
corrected rfc.
corrected license header