Board: Reordered imports, reordered functions, added docs