Fix application redirection for contract identification
Add contract existence check
Add Carousel class
Add pending_iats method

Refactor tests