view engine changed from jade to swig
view engine set to swig and necessary changes implemented