Embedded software for credit cards