Adds id generation
Adds integration test for controller interaction with Random.rand for i.d. generation