avoid global variables by using modules instead of classes