add dirs, and move html/php to each dir
move js/ts to each dir
mv samples into examples dir