Changes DB schema; adds more client-side code for retrieving from DB