add framework as library