removed cardlayout
removed cardslib : not in use
fixed build problems