refactor class/student store get methods to return promises