implemented calculate running costs and added db scheme for total netto table
added computing of percentage value on the fly