What I have right now

stack under construction
switch statement based on command types