delete not needed files and add last methods to api