Adds check for malloc failure
Adds copyright notice to key_store
Creates fish2 (incomplete) library.