Imported data structures and querying functionality from Updroid