refactored the initialize method and also show color for printed messages
Added neccesary javascript libraries
Replace .js files with .tt files

Replace .js files with .tt files