Added support for redirect targets (in case the file requested is missing)
Added function returning all targets as an array
Exposed application methods to index