Initial commit for UK LegQuery UI