added comments and headers to files