added token to argument list and db output in LM creation methods.
added token generation to LM upload method.