Was classical music the first type of music?

No. ╬ťonophonic and polyfonic styles of music -like gregorian hymns,organoum, discantous- were the first types of music(dating back to 7th-9th century). Soon the barok writers took over and eventually after the 17th-18th century classical music came up, followed by the romantic century and then the contemporary.