move dependency to the appropriate module