Add card.java constructor

By.wind