Formating of source code - trailing whitespaces

Remove all trailing whitespaces
Format of source code - indentation

Indentation is made by tab now.