Refactored admin module: created a utils module to handle xml configuration.

Added documentation #2.
Added tests #3.