Add section header and doco to realm
Add class for logging section
Fix formatting and section order