Cards template added. Unnecessary lines removed.