Removed unnecessary boolean variables and corrected code indentation

removed chk1 ,chk2 ,chk3 variables from the file which were used to check the track and status of API's and directly used API calls in cascaded format.
Removal of unnecessary variables ,spaces , tabs

Removal unnecessary variables and converted Method invocations and status check in cascaded form.
Merge pull request #12 from AshishNamdev/SOCIOWARE_BETA_V00.1_BR

Merged changes from  Socioware beta v00.1 br into master