Moved data_store stuff to it's own files.
Renamed m_lock to pthread_rwlock
Renamed data_store create and destroy functions.
Added logic to process data in the data structure.
Clean up and renaming.