fixed indentation and removed trailing whitespace in all files