separate lib vs app