improve build system + socket io