Bunch of code formatting plus the addition of the output node class (no logic as of yet)