Moved convertToContainer to the DOM module
Moved clearSavedState and loadSavedState to the persistence module
Small readability improvements
Cleaned up the main module
Added version information to the API