Laca: An architecture for legal agents