API almost finalized.

API almost finalized, missing only how quote will behave when called and
return a consistent message.