add createCard and hibernate template
merge