MOved all queries to query class
create cursorFactory instead?

Major:
Editactivity is still out of order
upload doesn't work
Occasional crashes, error loading sample 1.