Completed core data local cache and cache syncing

Completed core data query for lab detail view