Use Ellzaf reference code to start a local AI trading system with clearer structure, tests, and risk gates.