Final multithread v1.0

Still could be modulized, but fully functional