Solve some problems, and one critical one is left, please refer to the README TODO list