added MAkefile and the thread-classes that i think i will need