format all code and change class name