Deleting unused card class
Adding further jsdoc comments