Reformat code and optimize imports using intellij