Added modules and fixed structure. Also added MTrandom.