Invest: refactored code and added possibility to access asset targets
(preparation for dynamic asset allocation)