Added Commands

Also Enhanced debuging and fixed the randomizer.