Changed timeout to time_t, added make file and lib build scripts