added chapter model
added note model