added .swp
added logging, testing
added logging, moved Card class to separate file
added testing
added logging