update the interface indent
change the regist to use sqlite3 and fix some bugs