Working in AJAX code

Added a simple AJAX response class.
Updated some documentation.