big update: some changes and add frandom module
big update: some changes and add frandom module