Documentation aug2014

A bit more documentation. Haven't tried building so this code might need checking.