First API function. Creating the first page dynamically.