Added basic error handeling for setting the cards
Updated error handeling

Now the subfolder structure is supported.
Max number of cards is set to the right subfolder.