Added strcpy function, moved defines to param.h, added docs