Rename all internal references from images to applications

* Rename image routes
* Renamed references to images to applications
* Change internal variable names to application
* Rename application component to root to avoid confusion