Added docs. Added card db diagram.