Set up framework for the activities
Removed excess code from gridadapadter