Unit Testing.

Changes include adding the necessary dependencies for unit testing and code metrics. Also included are changes to the cards UI.