update scripts for local usage
add mobile support
remove useless php file