Formatting Heca driver

Format for Heca Driver: 

8 space indentation 
80 characters column restriction ( almost everywhere )
removed any tab characters
Removed trialling space etc..  
minor readability optimization ex: if(x) =>  if (x)