90% complete for offline use

added loading indicators.
Added more data on database.
Fix bugs.