Application Retrieval Work in Progress

Commented out as there are still errors with code. Saved for backup and
transparency.