fixing the initial attributes and userstate. Documenting the manifest fields.