Map Manager with some overhauls

Alea random gets its own file, namespaces file where namespaces are
declared.
Permanent solution to restoring from constructors.

Use cname property of constructors since name could be deformed from
uglification of JS.