rename template files
rearange javascript library
introduce requirejs
change template files
added old javascript code, to be converted into backbonejs