modifications to make operations with arrays through .+
some comments added to investments
application script started