Refactoring cards

- Moved all designer.js cards logic to cards.js
- Moved cards styles (tabs) into cards.css