Adding persistence module for OSX