Remove application and model from bundles. Added plugin reference.
Created by: stefanoborini
Removed application and model from the bundles. The application is still available by traversing the plugin, which is now available and initialized. The model must be passed appropriately to the methods of the created classes.