fix up prototype
remove unnecessary files