herobot.lua and it's refactoring to heroes