[DEV]rm main.cpp
[DEV] add ConfigMan.cpp ConfigMan.hpp/
rename some variables
[DEV]rename ui
[DEV]fix some bugs
bugFixed
bugFixed, bug still can't figure out unitest