Refactoring extracted interface Function1 to separate interface file.
Added foreach1 interface.
Added Contract.
Added filter method to Customer.
Fixed missing initial assignment of enabled flag in Contract.
Added setContractDisabledForCustomer to Customer.
Refactoring, added status flag to setContractForCustomer.