Added labels to most chapters and sections and added custom referencing commands