Integrated ORMLite for offline support. Made appropriate changes for to
fit appropriately.