introduce text length checker, some preparations for search algorithm
and localication
update license and todo, preparation for localization