adds some base for socket io