added pagination and a basic template for practice