add baic score handling and remove some uselss files