Move random seed to main file
Remove unused method