Started implementing the module and state.