title: choosing between Modules and Classes
body: <p>In my application I have to maintain some global application state and global application wide methods like currently connected users, total number of answers, create an application config file etc. There are two options:</p>
  
  <ol>
  <li><p>Make a separate appstate.py file with global variables with functions over them. It looks fine initially but it seems that I am missing <em>something</em> in clarity of my code.</p></li>
  <li><p>Create a class AppState with class functions in a appstate.py file, all other modules have been defined by their specific jobs. This looks fine. But now I have to write longer line like appstate.AppState.get_user_list(). Moreover, the methods are not so much related to each other. I can create separate classes but that would be too many classes.</p></li>
  </ol>
  
  <p>EDIT: If I use classes I will be using classmethods. I don't think there is a need to instantiate the class to an object.</p>