add debugger. Create separated server class.