Working on checkstyle

Fixed all the "not designed for extension" and all the "avoid star
import" errors that I could.