Added basic create/search functionnality.
Implemented long polling.