renamed resources to assets
moved the code that initializes the bundle configs and localization from layout to the views so it will happen on the package instance