fix the header file, update some format. The framework is completed.