Remove unused library and gems