basic app now working again using db. todo: parse, null case?