Completed get space by name function, updated docs