Code reformating and import optimizing