added header comments and updated readme