Added utilities to namespace
Refactored to self-executing anonymous functions