added method that returns pool configurations according to account id
redundant imports were removed