fixed bug in affect implementation
Add JSPs, js and java code to support web based app
made changes so that now web based game is functional