Added card class.
Made changes to memory management
Still playing with memory managment.