I can understand the desire to use only modules, thus exposing all the methods as bare functionality; but if you're going to do that you can't also expect to have initialized state.  
It seems you either need it to be a class, or have the state as it's own class (type) that is composed with the methods by the caller.