Adds request and caching of the plugin version.
Fixes code style
Moves dependency injection in commands to constructors.
Cleans RemoteApplication class a little bit