Added new debug method. Eventually it should save to log file. Just print for now.
Started adding debug statements