removed unused files
reworking the api
Rewrite done