The Nature Of Reality And The Universe : A solution to the measurement problem of quantum mechanics