from the beginning of the imperial era , work projects were carried out in perga , and in the second and third centuries a.d. , it grew into one of the most beautiful cities , not just in pamphylia , but in all of anatolia .