created separate file for getData functions updated dynamic page creation