Creating main page for PhoneGap to work