Reworked application to use shallow resources, streamlined Repo queries.