Move lib dependencies to separate file