moved init of asset manager to routes