add index.html
move static resources to directory resources
add bg header file
introduce angularjs
rename variables
use angularjs to search