Added some styles and chapters functionality