Reverted the code to use an Enum.
Not sure if it's such a good idea since I am now stuck with a fixed number of inputs
The halfway there commit
An other WIP messy commit