It works right now. Later, I will make it a constructor rather than a plain function
An example of enums.js in use