Some source reorganization

New configuration mode, source reorganization, hashing test