refactors to use builds and heroes