Added module docstring. Cleaned up imports.
Added docstrings; modifications for style.
Added list of functions that need implementation.