Revert "Refactored staffops file. (Vars and functions renaming)"

This reverts commit af6ae4aaa753e77e5dada20f5328959cbe76971f.