moved external libs outside