moved model class declaration from framework model.js to appropriate places
added add new page to topic