Support for $random; introduction of external services; start of unittest integration.