refactor
update tinyphp
rewrite code