Optimal control and dependence modeling of insurance portfolios with Lévy dynamics