Adding games model and modifying the index