Refactoring code so that there's a new staff backend class