Info on creating the extra BP pages in a theme

I’ve decided to spend the day having a go at creating a theme that does exactly what I want.

I kind of get creating the general pages for a theme, but is there anywhere that I can find out about the extra code required for the BP pages?