Once upon a time, in a cars message board:
Well, I have a Mustang, nothing works there!
...After some time, after all the replies...
Well, I forgot to say that I could not afford a Mustang and I had to buy a Galaxie!
Well, from CD4511 to BEF4511B there is no difference.
But from CD4510 to 4516 there is a BIG difference, the 4510 is BCD, the 4516 is binary. So it will not drive your 7 segment display, unless you add a binary->BCD converter there.
The relay is not working, is it? Try to remove the 2N3053 (NPN, the one that is connected to the relay coil), the transistor pair there is not needed.