Fixed all warnings and auto-formatted all class files