Got DB layer down, and added stub pref activity