added front end model for chapters. added front end view for chapters