Updates to tg date and event handling. Updating to latest version of Bill's Shiva code
Adding new files from Bill's code