Moved random facilities to their own source file and header