Added docs + other coding standard fixes