Change container to Dice and use constructor injection