Updated javadoc and cleaned up code for MemoryCard.java