Changed getAccounts method to return a list of Account objects; removed
unused methods