refactor steamapi wrapper