added init of fcgi redis and json lib