Basic ajax implementation is done. Document yet to be updated.