create cardnetwork domain class