reformatted and changed comments
sorted import list
added revised documentation
added a utils version of get_field() for app registry not ready