Puts random forests directive into its own file.

Refactors how random trees are generated.