add raw type for jsp. 
remove exception decare on main.
Make waiting time configurable.