updated cache dao to handle textual apparatus
more updates to handle difficult situations
generate ta asynchronously and cache results in the db