library menu web service call and local db storage working both online and offline.