code clean up of vbsolution, c# implementation started