added custom namespace configuration;
fixed few documentation and code typos;
replaced croak to confess for more readability;