Added random ID generator.
Working on model code.