Added the workspace.xml to the gitignore
Cleaned up unused code
Moved the detection of the Persistence Manager class to the Object Manager
Prepared support for the Document store