Querying the cloud works
Cleaned up code and linked the activities together.
Merge pull request #14 from syqnew/master

Implemented test for querying the database and linked activities for the test app.