Removes layer code.
Measures and stores card dimensions.
Positions cards in 3D space and colors them.
Refactors transform code, stores coordinates on elements.