An evolutionary model of development of a credit market