Split the shift/reduce/accept actions into their own files