added comments and comment headers to most files