Re-ordered functions to match online docs order
Started initial documentation of functions