Added initial AJAX capability
Added functionality to store documents in a database