Oojs refactor

Refactored Prose model.