I tested it twice and white won both, how to counter?
Queens gambit declined (c6)
It starts out a queens gambit but after c6 white plays c5 pinning the c6 pawn so the nknight can't go there and the bishop can not go along the c8-h3 diagonal

How instead of taking on b6 why not develop like g2 and swing the bishops over to attack queen side?

3.c5 is quite simply a very bad move, which
- loses time needed for development
- releases all central tension
- puts the pawn in a squre where it can be easily attacked.
The usual way to attack such a pawn, is attacking its supporter. Hence the most popular, and likely best move for Black, is 3...e5.
The best way I have found to deal with the QG is with the sharp Indian's Defense. Example:
1. d4 Nf6 2. e3 d6 3. c4 Nbd7 4. Nf3 e5 5. dxe5 dxe5 6. Nc3 e4 7. Nd4 Ne5
8. Be2 c5 9. Nb3 Qxd1+ 10. Bxd1 Nxc4 11. O-O Be6 12. f3 exf3 13. Bxf3 O-O-O
14. Be2 b6 15. a4 a5 16. e4 Bd6 17. Nd5 Nxd5 18. Bxc4 Nf6 19. Bxe6+ fxe6
20. Nd2 Bc7 (with a full point advantage)
D4 d5 c6 c5 b6 b4 a5 Qa4 Ra3 ect.