[REF] Code cleanup. Move tabs to spaces, remove trailing spaces. Remove unneeded imports