remove global function
improve: find view file
update readme