added SQLite fecth code for Location objects ref #7