created javadoc on card class, removed image and filename functions