Added get data to subject. prepared the isValid() for simple use (stand alone).
Changed the getData to return all or specified key.