removing old code and library