Consolidate modules into environment object