Code cleanup & Gui addition and minor updates

some new addition of code and removed unnecassary code. Added Code to
add software name and smcontact