method that adds nodes is now async, so it waits for mycouch to post the entity before returning.