add scalacOptions. remove unused imports