Added the random map support
Revert "Added the random map support"

This reverts commit 7597529da06974437909b5d112c00d7fadd97ea9.
Random map support by Masoud Barati