Improved random class.
New conversion function ntohll() needed to read from PostgreSQL.
PostgreSQL-based activity multiplexer.