Fix code style - lines length, trailing spaces and unused imports