Added main class functions, fixed card typos