[#014] More refactoring - moved layouts to Commander class
[#014] bugfix - click to move to foundation now works only when applied exactly to the card. Previously it was OK to click anywhere on the stack.