Added server thread, and few more buttons