Set up everything else and configure pagination