make Inlet into a static method
Started work on documentation