Added logic for single account statement, customer statement and
customer summary functions.