Fix incorrect credit card logo image
Move Realtime class into separate file