remove dependencies and any related code