Formating the code removing unused imports