init bundles, gems and controller