added card api and updated readme