Got basic database settings grabbing online and a basic default theme.

Change-Id: I294892fb68688cedcf61319ea7247d0c8ac22c41
Pushing latest

Change-Id: I4516b8fd2ff9929d0c03f85929d10088c4168ca6
Added new code and comments.