140515-iss002: add methods.c and now user-specify functions can be register and used as the internal method of elnet