Generalized some methods in Input to shrink code a bit. Added missing category in Enums. Updated plot.R to use a custom library for arg parsing.