Deletes unneeded files
Wip: manages binding lifecycle