definitions for ion and nebular modes

See Issue #85